Hi:
As per Chucks suggestion, I want to convert the following ant code to
use the new build system.
<target name="generic.project.compile"
depends="generic.project.environment,generic.project.prepare">
<wocompile srcdir="${project.dir}/${sources.dir}"
destdir="${build.classes}" debug="on" optimize="off" deprecation="on"
source="${compiler.source}" target="${compiler.target}">
<classpath>
<fileset dir="${project.dir}/Libraries">
<include name="**/*.jar" />
</fileset>
</classpath>
<frameworks dir="${wo.frameworks}"
includesfile="${project.deployment.dir}/woframeworklist">
</frameworks>
<frameworks dir="${project.build.root.dstroot}"
includesfile="${project.dir}/frameworklist">
</frameworks>
</wocompile>
</target>
I am using WOPath to replace the frameworks in wocompile as follows:
<target name="generic.project.compile" ...>
<wopath id="project.classpath">
<path>
<fileset dir="${project.dir}/Libraries">
<include name="**/*.jar" />
</fileset>
</path>
<frameworks root="User" eclipse="true" />
<frameworks root="Local" eclipse="true" />
<frameworks root="System" eclipse="true" />
</wopath>
<wocompile ...>
<classpath refid="project.classpath" />
</wocompile>
</target>
The build fails at wocompile with the following message:
generic.xml:52 (line of wocompile)
Failed to process eclipse frameworks.
I though wopath looks for frameworks as follows:
1. User -> /Users/mhast/Library/Frameworks
2. Local -> /Library/Frameworks
3. System -> /System/Library/Frameworks
All I am trying to do is to build JavaWOExtensions from Wonder using my
own build files.
Michael.
-- Tel: (520) 572-9410 Desert Sky Software: www.desertsky.com Specializing in the Development and Hosting of e-Business Applications.
This archive was generated by hypermail 2.0.0 : Tue Jan 27 2009 - 12:58:23 EST