Author: evenisse Date: Tue Jul 24 05:23:33 2007 New Revision: 559021 URL: http://svn.apache.org/viewvc?view=rev&rev=559021 Log: [CONTINUUM-1350] Add documentation for build profiles Submitted by: Olivier Lamy Added: maven/continuum/trunk/continuum-site/src/site/resources/images/add-installation.png (with props) maven/continuum/trunk/continuum-site/src/site/resources/images/add-profile.png (with props) maven/continuum/trunk/continuum-site/src/site/resources/images/setup-build-profile.png (with props) maven/continuum/trunk/continuum-site/src/site/resources/images/setup-jdk-profile.png (with props) maven/continuum/trunk/continuum-site/src/site/xdoc/build-profile.xml (with props) Modified: maven/continuum/trunk/continuum-site/pom.xml maven/continuum/trunk/continuum-site/src/site/site.xml Modified: maven/continuum/trunk/continuum-site/pom.xml URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-site/pom.xml?view=diff&rev=559021&r1=559020&r2=559021 ============================================================================== --- maven/continuum/trunk/continuum-site/pom.xml (original) +++ maven/continuum/trunk/continuum-site/pom.xml Tue Jul 24 05:23:33 2007 @@ -26,8 +26,8 @@ continuum-site org.apache.maven.continuum - 1.O.3 Continuum + pom apache Added: maven/continuum/trunk/continuum-site/src/site/resources/images/add-installation.png URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-site/src/site/resources/images/add-installation.png?view=auto&rev=559021 ============================================================================== Binary file - no diff available. Propchange: maven/continuum/trunk/continuum-site/src/site/resources/images/add-installation.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: maven/continuum/trunk/continuum-site/src/site/resources/images/add-profile.png URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-site/src/site/resources/images/add-profile.png?view=auto&rev=559021 ============================================================================== Binary file - no diff available. Propchange: maven/continuum/trunk/continuum-site/src/site/resources/images/add-profile.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: maven/continuum/trunk/continuum-site/src/site/resources/images/setup-build-profile.png URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-site/src/site/resources/images/setup-build-profile.png?view=auto&rev=559021 ============================================================================== Binary file - no diff available. Propchange: maven/continuum/trunk/continuum-site/src/site/resources/images/setup-build-profile.png ------------------------------------------------------------------------------ svn:mime-type = image/png Added: maven/continuum/trunk/continuum-site/src/site/resources/images/setup-jdk-profile.png URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-site/src/site/resources/images/setup-jdk-profile.png?view=auto&rev=559021 ============================================================================== Binary file - no diff available. Propchange: maven/continuum/trunk/continuum-site/src/site/resources/images/setup-jdk-profile.png ------------------------------------------------------------------------------ svn:mime-type = image/png Modified: maven/continuum/trunk/continuum-site/src/site/site.xml URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-site/src/site/site.xml?view=diff&rev=559021&r1=559020&r2=559021 ============================================================================== --- maven/continuum/trunk/continuum-site/src/site/site.xml (original) +++ maven/continuum/trunk/continuum-site/src/site/site.xml Tue Jul 24 05:23:33 2007 @@ -59,6 +59,7 @@ + Added: maven/continuum/trunk/continuum-site/src/site/xdoc/build-profile.xml URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-site/src/site/xdoc/build-profile.xml?view=auto&rev=559021 ============================================================================== --- maven/continuum/trunk/continuum-site/src/site/xdoc/build-profile.xml (added) +++ maven/continuum/trunk/continuum-site/src/site/xdoc/build-profile.xml Tue Jul 24 05:23:33 2007 @@ -0,0 +1,70 @@ + + + Continuum :: Build Profile + Olivier Lamy + + +
+ +

+ The main goal is to compile/test sources against the targeted jvm, mvn/maven version, ant version and to add defined envvar (MAVEN_OPTS, ANT_OPTS ...).
This is now possible at the build definition level (in 1.1-beta-1). +

+

+ Use case : a solaris with a JAVA_HOME set to a jdk1.4 in the .profile user, a continuum instance running with JAVA_HOME defined in the starting script (NOTE : 1.5 requirement to run continuum), a project which need to be jdk1.4 compliant and some developpers which have ide with jdk1.5 (and fautly add 1.5 methods ;-) ). +

+ +
+ +

+ Steps : +

+

+ + +

Here you must provide a JAVA_HOME path

+

+
+ + +

Enter a profile name (the name is free)

+

+
+ + +

The list box contains all availables installations (jdk, mvn etc..). The installation's type is automatically recognized.

+

In the modification mode of a profile, adding an already attached type will override the existing one.

+

+
+ + +

The list box contains all availables installations (jdk, mvn etc..). The installation's type is automatically recognized.

+

In the modification mode of a profile, adding an already attached type will override the existing one.

+

+
+
+ +

Now the notification mail contains the following informations : +

    +
  • Java Home version : coming from $JAVA_HOME/bin/java -version.
  • +
  • Builder version : coming from builder used version arg (mvn used -v, ant use -version).
  • +
+ Sample : + + Java Home version : + java version "1.4.2_06" + Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) + Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode) + + Builder version : + Maven version: 2.0.5 + +

+
+
+ +
Propchange: maven/continuum/trunk/continuum-site/src/site/xdoc/build-profile.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/continuum/trunk/continuum-site/src/site/xdoc/build-profile.xml ------------------------------------------------------------------------------ svn:keywords = "Author Date Id Revision"