You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by an...@apache.org on 2014/04/30 06:05:59 UTC

svn commit: r1591187 - in /ant/core/trunk: build.xml release.sh

Author: antoine
Date: Wed Apr 30 04:05:58 2014
New Revision: 1591187

URL: http://svn.apache.org/r1591187
Log:
add a special property to set to build the MacOSX installer
since we do not ship it by default
add a check that our POMS are able to compile the code in release.sh

Modified:
    ant/core/trunk/build.xml
    ant/core/trunk/release.sh

Modified: ant/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/build.xml?rev=1591187&r1=1591186&r2=1591187&view=diff
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Wed Apr 30 04:05:58 2014
@@ -1205,6 +1205,7 @@
 
   <condition property="buildosxpackage">
     <os family="mac"/>
+    <isset property="buildosxpackage.required"/>
   </condition>
 
   <target name="pkg_distribution" depends="zip_distribution" if="buildosxpackage">

Modified: ant/core/trunk/release.sh
URL: http://svn.apache.org/viewvc/ant/core/trunk/release.sh?rev=1591187&r1=1591186&r2=1591187&view=diff
==============================================================================
--- ant/core/trunk/release.sh (original)
+++ ant/core/trunk/release.sh Wed Apr 30 04:05:58 2014
@@ -42,6 +42,9 @@ if $linux; then
    export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
    JDK_VERSION=1.6
 fi
+# check that one can build under maven
+mvn -f src/etc/poms/pom.xml -DskipTests  package
+rm -rf target
 export PATH=$JAVA_HOME/bin:$PATH
 echo ANT_HOME=$ANT_HOME
 echo JAVA_HOME=$JAVA_HOME



AW: svn commit: r1591187 - in /ant/core/trunk: build.xml release.sh

Posted by "Jan Matèrne (jhm)" <ap...@materne.de>.
Like that?
https://builds.apache.org/job/Ant_BuildFromPOMs/
- JDK 1.5
- ubuntu
- @hourly
- Maven 3.0.5
-- src/etc/poms/pom.xml
-- clean package -DskipTests


Jan

> -----Ursprüngliche Nachricht-----
> Von: Antoine Levy Lambert [mailto:antoine@gmx.de]
> Gesendet: Mittwoch, 30. April 2014 06:15
> An: dev@ant.apache.org
> Betreff: Re: svn commit: r1591187 - in /ant/core/trunk: build.xml
> release.sh
> 
> Hi,
> 
> in order to avoid finding issues with ant’s pom files after the fact, I
> have added a step of building ant using maven in our release script.
> This is just to check that the compilation and building of jars work
> using maven, the target folder gets deleted in the next line.
> and also created a TeamCity build configuration on
> teamcity.jetbrains.com to build ant using maven with -DskipTests If
> someone has the time to create also such a build in builds.apache.org
> to add another check that would be great.
> 
> Antoine
> On Apr 30, 2014, at 12:05 AM, antoine@apache.org wrote:
> 
> > Author: antoine
> > Date: Wed Apr 30 04:05:58 2014
> > New Revision: 1591187
> >
> > URL: http://svn.apache.org/r1591187
> > --- ant/core/trunk/release.sh (original)
> > +++ ant/core/trunk/release.sh Wed Apr 30 04:05:58 2014
> > +# check that one can build under maven mvn -f src/etc/poms/pom.xml
> > +-DskipTests  package rm -rf target
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional
> commands, e-mail: dev-help@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: svn commit: r1591187 - in /ant/core/trunk: build.xml release.sh

Posted by Antoine Levy Lambert <an...@gmx.de>.
Hi,

in order to avoid finding issues with ant’s pom files after the fact, I have added a step of building ant using maven in our release script.
This is just to check that the compilation and building of jars work using maven, the target folder gets deleted in the next line.
and also created a TeamCity build configuration on teamcity.jetbrains.com to build ant using maven with -DskipTests 
If someone has the time to create also such a build in builds.apache.org to add another check that would be great.

Antoine
On Apr 30, 2014, at 12:05 AM, antoine@apache.org wrote:

> Author: antoine
> Date: Wed Apr 30 04:05:58 2014
> New Revision: 1591187
> 
> URL: http://svn.apache.org/r1591187
> --- ant/core/trunk/release.sh (original)
> +++ ant/core/trunk/release.sh Wed Apr 30 04:05:58 2014
> +# check that one can build under maven
> +mvn -f src/etc/poms/pom.xml -DskipTests  package
> +rm -rf target
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org