[prev in list] [next in list] [prev in thread] [next in thread] 

List:       woden-dev
Subject:    Re: Using ant to build woden
From:       Jeremy Hughes <jpjhughes () gmail ! com>
Date:       2005-11-23 16:34:19
Message-ID: adbf02b10511230834k360edddbp8da2b9836128365 () mail ! gmail ! com
[Download RAW message or body]

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 <lmandel@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 <jpjhughes@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 <davanum@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 <jpjhughes@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
>
>
>

[Attachment #3 (text/html)]

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') ...<br>
<br>
Maven later.<br>
<br>
Jeremy<br><br><div><span class="gmail_quote">On 11/23/05, <b \
class="gmail_sendername">Lawrence Mandel</b> &lt;<a \
href="mailto:lmandel@ca.ibm.com">lmandel@ca.ibm.com</a>&gt; wrote:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">

<br><font face="sans-serif" size="2">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.)</font>
<br><font face="sans-serif" size="2"><br>
Lawrence Mandel<br>
<br>
Software Developer<br>
IBM Rational Software<br>
Phone: 905 - 413 - 3814 &nbsp; Fax: 905 - 413 - 4920<br>
<a href="mailto:lmandel@ca.ibm.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">lmandel@ca.ibm.com</a></font> <br>
<br>
<br>
<table width="100%">
<tbody><tr valign="top">
<td width="40%"><span class="q"><font face="sans-serif" size="1"><b>Jeremy Hughes \
&lt;<a href="mailto:jpjhughes@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">jpjhughes@gmail.com</a>&gt; </b>
</font>
</span><p><font face="sans-serif" size="1">11/23/2005 10:48 AM</font>
<table border="1">
<tbody><tr valign="top">
<td bgcolor="white">
<div align="center"><font face="sans-serif" size="1">Please respond to<br>
woden-dev</font></div></td></tr></tbody></table>
<br>
</p></td><td width="59%">
<table width="100%">
<tbody><tr>
<td>
<div align="right"><font face="sans-serif" size="1">To</font></div>
</td><td valign="top"><font face="sans-serif" size="1"><a \
href="mailto:woden-dev@ws.apache.org" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">woden-dev@ws.apache.org</a>, <a \
href="mailto:dims@apache.org" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">dims@apache.org</a></font> </td></tr><tr>
<td>
<div align="right"><font face="sans-serif" size="1">cc</font></div>
</td><td valign="top">
              <br>
</td></tr><tr>
<td>
<div align="right"><font face="sans-serif" size="1">Subject</font></div>
</td><td valign="top"><font face="sans-serif" size="1">Re: Using ant to build \
woden</font></td></tr></tbody></table> <br>
<table>
<tbody><tr valign="top">
<td>
              <br>
</td><td><br>
</td></tr></tbody></table>
<br></td></tr></tbody></table>
<br>
<br>
<br><font size="2"><tt></tt></font><div><span class="e" \
id="q_107bde28280c9b2b_3"><font size="2"><tt>That works. This also works...<br> <br>
[hughesj@vaux java]$ svn diff<br>
Index: build.xml<br>
===================================================================<br>
--- build.xml &nbsp; (revision 348464)<br>
+++ build.xml &nbsp; (working copy)<br>
@@ -20,6 +20,7 @@<br>
 &nbsp; &nbsp; &nbsp; &nbsp;- Automatic upload to download server and website.<br>
 &nbsp;--&gt;<br>
 &lt;project name=&quot;woden&quot; default=&quot;buildImplAndAPI&quot;
basedir=&quot;.&quot;&gt;<br>
+ &nbsp; &nbsp; &nbsp; &lt;property \
file=&quot;${basedir}/build.properties&quot;/&gt;<br>  &nbsp; &nbsp; &nbsp; \
&nbsp;&lt;property name=&quot;build.home&quot; value=&quot;.&quot;/&gt;<br>  &nbsp; \
&nbsp; &nbsp; &nbsp;&lt;property name=&quot;javaDir&quot; \
value=&quot;${build.home}/java&quot;/&gt;<br>  &nbsp; &nbsp; &nbsp; \
&nbsp;&lt;property name=&quot;build.output&quot; \
value=&quot;${javaDir}/build&quot;/&gt;<br> @@ -37,7 +38,6 @@<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;property name=&quot;manifestfile&quot;
value=&quot;META-INF/MANIFEST.MF&quot;/&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;property name=&quot;build.javadoc&quot;
value=&quot;${build.output}/Javadoc&quot;/&gt;<br>
<br>
- &nbsp; &nbsp; &nbsp; &lt;property \
file=&quot;${basedir}/build.properties&quot;/&gt;<br> <br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;!-- Default to a nightly build --&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;property name=&quot;buildType&quot; \
value=&quot;N&quot;/&gt;<br> @@ -318,4 +318,4 @@<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;delete \
dir=&quot;${build.output}&quot;/&gt;<br>  &nbsp; &nbsp; &nbsp; \
&nbsp;&lt;/target&gt;<br> <br>
Then everything in the build.properties overrides what's in the<br>
build.xml. The output directory structure isn't good, but it'll do<br>
until we mavenizing the build. Which I can look into.<br>
<br>
Jeremy<br>
<br>
On 11/23/05, Davanum Srinivas &lt;<a href="mailto:davanum@gmail.com" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">davanum@gmail.com</a>&gt; \
wrote:<br> &gt; try the following:<br>
&gt;<br>
&gt; C:\APACHE\woden&gt;svn diff<br>
&gt; Index: java/build.xml<br>
&gt; ===================================================================<br>
&gt; --- java/build.xml &nbsp; &nbsp; &nbsp;(revision 328741)<br>
&gt; +++ java/build.xml &nbsp; &nbsp; &nbsp;(working copy)<br>
&gt; @@ -20,7 +20,7 @@<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; - Automatic upload to download server
and website.<br>
&gt; &nbsp; --&gt;<br>
&gt; &nbsp;&lt;project name=&quot;woden&quot; default=&quot;buildImplAndAPI&quot;
basedir=&quot;.&quot;&gt;<br>
&gt; - &nbsp; &nbsp; &nbsp; &lt;property name=&quot;build.home&quot; \
value=&quot;.&quot;/&gt;<br> &gt; + &nbsp; &nbsp; &nbsp; &lt;property \
name=&quot;build.home&quot; value=&quot;..&quot;/&gt;<br> &gt; &nbsp; &nbsp; &nbsp; \
&nbsp; &lt;property name=&quot;javaDir&quot; \
value=&quot;${build.home}/java&quot;/&gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; \
&lt;property name=&quot;build.output&quot; \
value=&quot;${javaDir}/build&quot;/&gt;<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; \
&lt;property name=&quot;version&quot; value=&quot;1.0.0&quot;/&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 11/23/05, Jeremy Hughes &lt;<a href="mailto:jpjhughes@gmail.com" \
target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">jpjhughes@gmail.com</a>&gt; wrote:<br> &gt; \
&gt; Is anyone running the ant build regularly. It looks broken to me. If I<br>
&gt; &gt; check out woden:<br>
&gt; &gt;<br>
&gt; &gt; cd /home/hughesj/woden<br>
&gt; &gt; svn checkout <a href="http://svn.apache.org/repos/asf/incubator/woden/java" \
target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">http://svn.apache.org/repos/asf/incubator/woden/java</a><br>
 &gt; &gt;<br>
&gt; &gt; then cd to where the build.xml is and run ant:<br>
&gt; &gt;<br>
&gt; &gt; cd /home/hughesj/woden/java<br>
&gt; &gt; ant<br>
&gt; &gt;<br>
&gt; &gt; the build fails with:<br>
&gt; &gt;<br>
&gt; &gt; BUILD FAILED<br>
&gt; &gt; /home/hughesj/woden/java/build.xml:137: srcdir<br>
&gt; &gt; &quot;/home/hughesj/woden/java/java/src&quot; does not exist!<br>
&gt; &gt;<br>
&gt; &gt; If I'm doing something dumb please let me know otherwise I'll
investigate.<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt; Jeremy<br>
&gt; &gt;<br>
&gt; &gt; ---------------------------------------------------------------------<br>
&gt; &gt; To unsubscribe, e-mail: <a \
href="mailto:woden-dev-unsubscribe@ws.apache.org" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">woden-dev-unsubscribe@ws.apache.org</a><br> \
&gt; &gt; For additional commands, e-mail: <a \
href="mailto:woden-dev-help@ws.apache.org" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">woden-dev-help@ws.apache.org</a><br> &gt; \
&gt;<br> &gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Davanum Srinivas : <a href="http://wso2.com/blogs/" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">http://wso2.com/blogs/</a><br> \
&gt;<br> &gt; ---------------------------------------------------------------------<br>
 &gt; To unsubscribe, e-mail: <a href="mailto:woden-dev-unsubscribe@ws.apache.org" \
target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">woden-dev-unsubscribe@ws.apache.org</a><br> \
&gt; For additional commands, e-mail: <a href="mailto:woden-dev-help@ws.apache.org" \
target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">woden-dev-help@ws.apache.org</a><br> &gt;<br>
&gt;<br>
<br></tt></font></span></div>
<font size="2"><tt>---------------------------------------------------------------------<span \
class="q"><br> To unsubscribe, e-mail: <a \
href="mailto:woden-dev-unsubscribe@ws.apache.org" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">woden-dev-unsubscribe@ws.apache.org</a><br> \
For additional commands, e-mail: <a href="mailto:woden-dev-help@ws.apache.org" \
target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">woden-dev-help@ws.apache.org</a><br> <br>
</span></tt></font>
<br>
</blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic