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
[EMAIL PROTECTED]
| Jeremy Hughes <[EMAIL PROTECTED]>
11/23/2005 10:48 AM
|
|
That works. This also works...
[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Davanum Srinivas : http://wso2.com/blogs/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
