Thanks Chuck!
-----Original Message-----
From: "Chuck Hill" <chil..lobal-village.net>
Sent: Thursday, June 4, 2009 12:31pm
To: woproject-de..bjectstyle.org
Subject: Re: GeneratedEOs and build.xml
Hi Ken,
On Jun 4, 2009, at 6:58 AM, kenlist..nderhome.com wrote:
> All,
>
> We're working on building our frameworks and WARs completely through
> ant. This mostly works, but we've one into one issue.
>
> Right now, all the frameworks have been built by Eclipse, not ant.
> When we try to build our model framework, we have a problem because
> we're using the old style of putting the underscore files in
> GeneratedEOs, not Sources.
>
> The build.xml file's wocompile task just has this:
>
> <wocompile srcdir="Sources" destdir="bin">
>
> which of course doesn't know where to find GeneratedEOs.
>
> What's the right approach here? Should we get rid of GeneratedEOs,
> or is there a way to get wocompile to understand Sources &
> GeneratedEOs ?
>
> Ken
I use a custom Ant build, perhaps some parts of it will be of use to
you:
<path id="project.source.path">
<dirset dir=".">
<include name="Sources"/>
<include name="Tests"/>
<include name="GeneratedEOs"/>
</dirset>
</path>
<wopath id="project.classpath">
<frameworks root="User" eclipse="true" />
<frameworks root="Local" eclipse="true" />
<frameworks root="System" eclipse="true" />
</wopath>
<!-- Distribution WOProject compilation -->
<target name="compile" depends="init.all">
<wocompile destdir="bin"
debug="${wocompile.debug.flag}"
optimize="${wocompile.optimize.flag}"
deprecation="on">
<src refid="project.source.path"/>
<classpath refid="project.classpath"/>
</wocompile>
</target>
Chuck
--
Chuck Hill Senior Consultant / VP Development
Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/
This archive was generated by hypermail 2.0.0 : Thu Jun 04 2009 - 12:38:54 EDT