You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by Jeremy Hughes <jp...@gmail.com> on 2005/11/23 14:13:07 UTC

Using ant to build woden

Is anyone running the ant build regularly. It looks broken to me. If I
check out woden:

cd /home/hughesj/woden
svn checkout http://svn.apache.org/repos/asf/incubator/woden/java

then cd to where the build.xml is and run ant:

cd /home/hughesj/woden/java
ant

the build fails with:

BUILD FAILED
/home/hughesj/woden/java/build.xml:137: srcdir
"/home/hughesj/woden/java/java/src" does not exist!

If I'm doing something dumb please let me know otherwise I'll investigate.

Thanks,
Jeremy

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


Re: Using ant to build woden

Posted by Davanum Srinivas <da...@gmail.com>.
+1

On 11/23/05, Jeremy Hughes <jp...@gmail.com> wrote:
> That works. This also works...
>
> [hughesj@vaux java]$ svn diff
> Index: build.xml
> ===================================================================
> --- build.xml   (revision 348464)
> +++ build.xml   (working copy)
> @@ -20,6 +20,7 @@
>         - Automatic upload to download server and website.
>   -->
>  <project name="woden" default="buildImplAndAPI" basedir=".">
> +       <property file="${basedir}/build.properties"/>
>         <property name="build.home" value="."/>
>         <property name="javaDir" value="${build.home}/java"/>
>         <property name="build.output" value="${javaDir}/build"/>
> @@ -37,7 +38,6 @@
>         <property name="manifestfile" value="META-INF/MANIFEST.MF"/>
>         <property name="build.javadoc" value="${build.output}/Javadoc"/>
>
> -       <property file="${basedir}/build.properties"/>
>
>         <!-- Default to a nightly build -->
>         <property name="buildType" value="N"/>
> @@ -318,4 +318,4 @@
>                 <delete dir="${build.output}"/>
>         </target>
>
> Then everything in the build.properties overrides what's in the
> build.xml. The output directory structure isn't good, but it'll do
> until we mavenizing the build. Which I can look into.
>
> Jeremy
>
> On 11/23/05, Davanum Srinivas <da...@gmail.com> wrote:
> > try the following:
> >
> > C:\APACHE\woden>svn diff
> > Index: java/build.xml
> > ===================================================================
> > --- java/build.xml      (revision 328741)
> > +++ java/build.xml      (working copy)
> > @@ -20,7 +20,7 @@
> >         - Automatic upload to download server and website.
> >   -->
> >  <project name="woden" default="buildImplAndAPI" basedir=".">
> > -       <property name="build.home" value="."/>
> > +       <property name="build.home" value=".."/>
> >         <property name="javaDir" value="${build.home}/java"/>
> >         <property name="build.output" value="${javaDir}/build"/>
> >         <property name="version" value="1.0.0"/>
> >
> >
> >
> > On 11/23/05, Jeremy Hughes <jp...@gmail.com> wrote:
> > > Is anyone running the ant build regularly. It looks broken to me. If I
> > > check out woden:
> > >
> > > cd /home/hughesj/woden
> > > svn checkout http://svn.apache.org/repos/asf/incubator/woden/java
> > >
> > > then cd to where the build.xml is and run ant:
> > >
> > > cd /home/hughesj/woden/java
> > > ant
> > >
> > > the build fails with:
> > >
> > > BUILD FAILED
> > > /home/hughesj/woden/java/build.xml:137: srcdir
> > > "/home/hughesj/woden/java/java/src" does not exist!
> > >
> > > If I'm doing something dumb please let me know otherwise I'll investigate.
> > >
> > > Thanks,
> > > Jeremy
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: woden-dev-help@ws.apache.org
> > >
> > >
> >
> >
> > --
> > Davanum Srinivas : http://wso2.com/blogs/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: woden-dev-help@ws.apache.org
> >
> >
>


--
Davanum Srinivas : http://wso2.com/blogs/

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


Re: Using ant to build woden

Posted by Jeremy Hughes <jp...@gmail.com>.
ant build now works from cmd line with no manual intervention. Now to get it
working from eclipse (currently the project has to be called 'java') ...

Maven later.

Jeremy

On 11/23/05, Lawrence Mandel <lm...@ca.ibm.com> wrote:
>
>
> Any help in improving the build is appreciated. I threw together the Ant
> script so we had some structured way of building Woden but it's certainly
> not bullet proof and there may be better ways of doing this. (I'm not
> familiar with Maven but see that many Apache projects are making use of it.)
>
> Lawrence Mandel
>
> Software Developer
> IBM Rational Software
> Phone: 905 - 413 - 3814   Fax: 905 - 413 - 4920
> lmandel@ca.ibm.com
>
>
>  *Jeremy Hughes <jp...@gmail.com>*
>
> 11/23/2005 10:48 AM  Please respond to
> woden-dev
>
>   To
> woden-dev@ws.apache.org, dims@apache.org  cc
>
>  Subject
> Re: Using ant to build woden
>
>
>
>
>
>
> That works. This also works...
>
> [hughesj@vaux java]$ svn diff
> Index: build.xml
> ===================================================================
> --- build.xml   (revision 348464)
> +++ build.xml   (working copy)
> @@ -20,6 +20,7 @@
>        - Automatic upload to download server and website.
>  -->
> <project name="woden" default="buildImplAndAPI" basedir=".">
> +       <property file="${basedir}/build.properties"/>
>        <property name="build.home" value="."/>
>        <property name="javaDir" value="${build.home}/java"/>
>        <property name="build.output" value="${javaDir}/build"/>
> @@ -37,7 +38,6 @@
>        <property name="manifestfile" value="META-INF/MANIFEST.MF"/>
>        <property name="build.javadoc" value="${build.output}/Javadoc"/>
>
> -       <property file="${basedir}/build.properties"/>
>
>        <!-- Default to a nightly build -->
>        <property name="buildType" value="N"/>
> @@ -318,4 +318,4 @@
>                <delete dir="${build.output}"/>
>        </target>
>
> Then everything in the build.properties overrides what's in the
> build.xml. The output directory structure isn't good, but it'll do
> until we mavenizing the build. Which I can look into.
>
> Jeremy
>
> On 11/23/05, Davanum Srinivas <da...@gmail.com> wrote:
> > try the following:
> >
> > C:\APACHE\woden>svn diff
> > Index: java/build.xml
> > ===================================================================
> > --- java/build.xml      (revision 328741)
> > +++ java/build.xml      (working copy)
> > @@ -20,7 +20,7 @@
> >         - Automatic upload to download server and website.
> >   -->
> >  <project name="woden" default="buildImplAndAPI" basedir=".">
> > -       <property name="build.home" value="."/>
> > +       <property name="build.home" value=".."/>
> >         <property name="javaDir" value="${build.home}/java"/>
> >         <property name="build.output" value="${javaDir}/build"/>
> >         <property name="version" value="1.0.0"/>
> >
> >
> >
> > On 11/23/05, Jeremy Hughes <jp...@gmail.com> wrote:
> > > Is anyone running the ant build regularly. It looks broken to me. If I
> > > check out woden:
> > >
> > > cd /home/hughesj/woden
> > > svn checkout http://svn.apache.org/repos/asf/incubator/woden/java
> > >
> > > then cd to where the build.xml is and run ant:
> > >
> > > cd /home/hughesj/woden/java
> > > ant
> > >
> > > the build fails with:
> > >
> > > BUILD FAILED
> > > /home/hughesj/woden/java/build.xml:137: srcdir
> > > "/home/hughesj/woden/java/java/src" does not exist!
> > >
> > > If I'm doing something dumb please let me know otherwise I'll
> investigate.
> > >
> > > Thanks,
> > > Jeremy
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: woden-dev-help@ws.apache.org
> > >
> > >
> >
> >
> > --
> > Davanum Srinivas : http://wso2.com/blogs/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: woden-dev-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
>

Re: Using ant to build woden

Posted by Lawrence Mandel <lm...@ca.ibm.com>.
Any help in improving the build is appreciated. I threw together the Ant 
script so we had some structured way of building Woden but it's certainly 
not bullet proof and there may be better ways of doing this. (I'm not 
familiar with Maven but see that many Apache projects are making use of 
it.)

Lawrence Mandel

Software Developer
IBM Rational Software
Phone: 905 - 413 - 3814   Fax: 905 - 413 - 4920
lmandel@ca.ibm.com



Jeremy Hughes <jp...@gmail.com> 
11/23/2005 10:48 AM
Please respond to
woden-dev


To
woden-dev@ws.apache.org, dims@apache.org
cc

Subject
Re: Using ant to build woden






That works. This also works...

[hughesj@vaux java]$ svn diff
Index: build.xml
===================================================================
--- build.xml   (revision 348464)
+++ build.xml   (working copy)
@@ -20,6 +20,7 @@
        - Automatic upload to download server and website.
  -->
 <project name="woden" default="buildImplAndAPI" basedir=".">
+       <property file="${basedir}/build.properties"/>
        <property name="build.home" value="."/>
        <property name="javaDir" value="${build.home}/java"/>
        <property name="build.output" value="${javaDir}/build"/>
@@ -37,7 +38,6 @@
        <property name="manifestfile" value="META-INF/MANIFEST.MF"/>
        <property name="build.javadoc" value="${build.output}/Javadoc"/>

-       <property file="${basedir}/build.properties"/>

        <!-- Default to a nightly build -->
        <property name="buildType" value="N"/>
@@ -318,4 +318,4 @@
                <delete dir="${build.output}"/>
        </target>

Then everything in the build.properties overrides what's in the
build.xml. The output directory structure isn't good, but it'll do
until we mavenizing the build. Which I can look into.

Jeremy

On 11/23/05, Davanum Srinivas <da...@gmail.com> wrote:
> try the following:
>
> C:\APACHE\woden>svn diff
> Index: java/build.xml
> ===================================================================
> --- java/build.xml      (revision 328741)
> +++ java/build.xml      (working copy)
> @@ -20,7 +20,7 @@
>         - Automatic upload to download server and website.
>   -->
>  <project name="woden" default="buildImplAndAPI" basedir=".">
> -       <property name="build.home" value="."/>
> +       <property name="build.home" value=".."/>
>         <property name="javaDir" value="${build.home}/java"/>
>         <property name="build.output" value="${javaDir}/build"/>
>         <property name="version" value="1.0.0"/>
>
>
>
> On 11/23/05, Jeremy Hughes <jp...@gmail.com> wrote:
> > Is anyone running the ant build regularly. It looks broken to me. If I
> > check out woden:
> >
> > cd /home/hughesj/woden
> > svn checkout http://svn.apache.org/repos/asf/incubator/woden/java
> >
> > then cd to where the build.xml is and run ant:
> >
> > cd /home/hughesj/woden/java
> > ant
> >
> > the build fails with:
> >
> > BUILD FAILED
> > /home/hughesj/woden/java/build.xml:137: srcdir
> > "/home/hughesj/woden/java/java/src" does not exist!
> >
> > If I'm doing something dumb please let me know otherwise I'll 
investigate.
> >
> > Thanks,
> > Jeremy
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: woden-dev-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas : http://wso2.com/blogs/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>

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



Re: Using ant to build woden

Posted by Jeremy Hughes <jp...@gmail.com>.
That works. This also works...

[hughesj@vaux java]$ svn diff
Index: build.xml
===================================================================
--- build.xml   (revision 348464)
+++ build.xml   (working copy)
@@ -20,6 +20,7 @@
        - Automatic upload to download server and website.
  -->
 <project name="woden" default="buildImplAndAPI" basedir=".">
+       <property file="${basedir}/build.properties"/>
        <property name="build.home" value="."/>
        <property name="javaDir" value="${build.home}/java"/>
        <property name="build.output" value="${javaDir}/build"/>
@@ -37,7 +38,6 @@
        <property name="manifestfile" value="META-INF/MANIFEST.MF"/>
        <property name="build.javadoc" value="${build.output}/Javadoc"/>

-       <property file="${basedir}/build.properties"/>

        <!-- Default to a nightly build -->
        <property name="buildType" value="N"/>
@@ -318,4 +318,4 @@
                <delete dir="${build.output}"/>
        </target>

Then everything in the build.properties overrides what's in the
build.xml. The output directory structure isn't good, but it'll do
until we mavenizing the build. Which I can look into.

Jeremy

On 11/23/05, Davanum Srinivas <da...@gmail.com> wrote:
> try the following:
>
> C:\APACHE\woden>svn diff
> Index: java/build.xml
> ===================================================================
> --- java/build.xml      (revision 328741)
> +++ java/build.xml      (working copy)
> @@ -20,7 +20,7 @@
>         - Automatic upload to download server and website.
>   -->
>  <project name="woden" default="buildImplAndAPI" basedir=".">
> -       <property name="build.home" value="."/>
> +       <property name="build.home" value=".."/>
>         <property name="javaDir" value="${build.home}/java"/>
>         <property name="build.output" value="${javaDir}/build"/>
>         <property name="version" value="1.0.0"/>
>
>
>
> On 11/23/05, Jeremy Hughes <jp...@gmail.com> wrote:
> > Is anyone running the ant build regularly. It looks broken to me. If I
> > check out woden:
> >
> > cd /home/hughesj/woden
> > svn checkout http://svn.apache.org/repos/asf/incubator/woden/java
> >
> > then cd to where the build.xml is and run ant:
> >
> > cd /home/hughesj/woden/java
> > ant
> >
> > the build fails with:
> >
> > BUILD FAILED
> > /home/hughesj/woden/java/build.xml:137: srcdir
> > "/home/hughesj/woden/java/java/src" does not exist!
> >
> > If I'm doing something dumb please let me know otherwise I'll investigate.
> >
> > Thanks,
> > Jeremy
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: woden-dev-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas : http://wso2.com/blogs/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>

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


Re: Using ant to build woden

Posted by Davanum Srinivas <da...@gmail.com>.
try the following:

C:\APACHE\woden>svn diff
Index: java/build.xml
===================================================================
--- java/build.xml      (revision 328741)
+++ java/build.xml      (working copy)
@@ -20,7 +20,7 @@
        - Automatic upload to download server and website.
  -->
 <project name="woden" default="buildImplAndAPI" basedir=".">
-       <property name="build.home" value="."/>
+       <property name="build.home" value=".."/>
        <property name="javaDir" value="${build.home}/java"/>
        <property name="build.output" value="${javaDir}/build"/>
        <property name="version" value="1.0.0"/>



On 11/23/05, Jeremy Hughes <jp...@gmail.com> wrote:
> Is anyone running the ant build regularly. It looks broken to me. If I
> check out woden:
>
> cd /home/hughesj/woden
> svn checkout http://svn.apache.org/repos/asf/incubator/woden/java
>
> then cd to where the build.xml is and run ant:
>
> cd /home/hughesj/woden/java
> ant
>
> the build fails with:
>
> BUILD FAILED
> /home/hughesj/woden/java/build.xml:137: srcdir
> "/home/hughesj/woden/java/java/src" does not exist!
>
> If I'm doing something dumb please let me know otherwise I'll investigate.
>
> Thanks,
> Jeremy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

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