Hi Pierre,
you can use the ant.framework* and ant.classpath.* files. At least to
compile a application project . I can add an option to generate these
files also for a framework project.
Be careful. It's untested.
<target name="compile">
<delete dir="${classes.dir}"/>
<mkdir name="${classes.dir}"/>
<wocompile srcdir="src"
destdir="${classes.dir}"
debug="on"
optimize="off"
deprecation="on">
</wocompile>
<frameworks root="${wo.wosystemroot}">
<patternset>
<includesfile name="ant.frameworks.wo.wosystemroot"/>
</patternset>
</frameworks>
<frameworks root="${wo.wolocalroot}">
<patternset>
<includesfile name="ant.frameworks.wo.wolocalroot"/>
</patternset>
</frameworks>
<frameworks root="${user.home}">
<patternset>
<includesfile name="ant.frameworks.user.home"/>
</patternset>
</frameworks>
</target>
Please inform me about your progress. It could be helpful for a fre:
http://sourceforge.net/tracker/index.php?
func=detail&aid=726097&group_id=50507&atid=459970
On Friday, 12. September 2003, at 14:56PM, Pierre Bernard wrote:
> Hi!
>
> I am trying to write scripts that allow WO frameworks and applications
> to be installed from the command line.
> While I can call the WOProject scripts from the command line, I have
> trouble creating the basis from which WOProject works: the compiled
> Java classes. Those are usually compiled by Exclipse's Java builder.
> When compiling outside Eclipse I would need a way to read the
> .classpath file used by Eclipse. That file seems to have a proprietary
> format.
>
> Or is there a way to call the Eclipse Java Builder from the command
> line?
>
> TIA
> Pierre
>
> --
> Got a hang for movies?
> http://homepage.mac.com/I_love_my/movies.html
>
>
> **********************************************************************
> This email and any files transmitted with it are intended solely for
> the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify the sender
> of this message. (Pierre.Bernar..cl.lu)
> This email message has been checked for the presence of computer
> viruses; however this protection does not ensure this message is
> virus free.
> Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
> **********************************************************************
>
This archive was generated by hypermail 2.0.0 : Sat Sep 13 2003 - 03:53:02 EDT