On 04/03/2010 11:55, Raido Kuli wrote:
BUILD FAILED
C:\Dev\wookie\build.xml:78: Basedir C:\Dev\wookie\${wookie.parser.w3c.dir}\java
does not exist
I forgot to commit build.properties. Now done.
Thanks for the heads up.
After creating property -> <property name="wookie.parser.w3c.dir"
value="parser" />
value="parser/java"
(although I added to build.properties rather than to the build script.
Ross
BUILD FAILED
C:\Dev\wookie\ant\ivy-java-common.xml:94: Compile failed; see the compiler error
output for details.
On Thu, Mar 4, 2010 at 1:27 PM, Ross Gardler<[email protected]> wrote:
On 04/03/2010 11:08, Ross Gardler wrote:
On 04/03/2010 11:01, Scott Wilson wrote:
Thanks Ross - I copied the connector framework build scripts for the
parser so duplicated the same issue.
Actually there are two problems with your new sub-project.
The first is the error I created when doing the connector subproject
(testing a fix now), the second was that you need to instruct core to
build and locally deploy any sub-projects prior to compilation.
This is done in /build.xml as follows:
I've now committed a fix for these issues. Note the previously pasted
snippet for building sub projects is a little different now. It reads:
<target name="local-publish-subprojects">
<!-- localy publish sub-projects -->
<ant dir="${wookie.connector.dir}/java" target="publish-local"
inheritAll="false"/>
<ant dir="${wookie.parser.w3c.dir}/java" target="publish-local"
inheritAll="false"/>
</target>
When we add any sub project we need to add an appropriate line to the above.
If anyone is interested, the problem was that I previously added a
pre-compile-core target that was called as part of the compile-core target.
However, this was being called after the ivy:resolve rather than before it.
I have no idea why I did this with an ant-call rather than a dependency,
call it a minor aberation.
Anyway, we now have "local-publish-subprojects" and "pre-compile-core"
targets.
I've also added some logging messages to make it easier to track what is
going on given that there are now multiple calls to each target for various
sub projects.
Ross