All,
I fixed AppFormat and WOCompile to skip whole frameworks once they have
been loaded once, adding the ability to define sth like
LD_LIBRARY_PATH. I.e. you can define a common set of patterns and
include them with different roots:
<patternset id="all.frameworks.set" >
<include name="JavaDTWGeneration.framework" />
...
<include name="JavaWebObjects.framework" />
<include name="ERExtensions.framework" />
...
<include name="MyStuff.framework" />
</patternset>
<property name="all.frameworks" value="all.frameworks.set" />
<wocompile srcdir="${project.dir}/${dir.sources}"
destdir="${build.classes}" debug="on"
optimize="off" deprecation="on">
<frameworks root="${user.dir}/Roots">
<patternset refid="${all.frameworks}" />
</frameworks>
<frameworks root="/Library/Frameworks">
<patternset refid="${all.frameworks}" />
</frameworks>
<frameworks root="/System/Library/Frameworks">
<patternset refid="${all.frameworks}" />
</frameworks>
</wocompile>
Normally, when you do this and have a version not only in Roots/ but
also in /Library/Frameworks, then they are both included in the
CLASSPATH.TXT file and will choke the app because a bundle with the
same name can only be loaded once. The new trick is that you can have
*one* patternset/file with all your project's frameworks and WOProject
will find the most "recent" one for you. This (IMHO) vastly simplifies
generic scripts.
I'd like to commit this, but I'm unsure because all the test fail? I
doubt that this has to with my changes, rather with my setup...can
someone explain how to make the tests run through - or get more info
about it?
Cheers, Anjo
This archive was generated by hypermail 2.0.0 : Thu Nov 13 2003 - 07:12:54 EST