[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Ant javac log files being overwritten

Eric,

The problem is likely due to a quirk/design feature of Ant where property
values are not overwritten.  So, once the "out" property is set, its value
cannot be changed.  This would be a bug.

Jeff


"Eric Simpson" <esimpson@xxxxxxxxxx> wrote in message
news:3B9D3420.66D46E22@xxxxxxxxxxxxx
>
> I have a component build scripts which calls 4 plugin build scripts to
> generate each of the plugins' jar files.  Some of the plugins generate
> multiple jar files.  When a jar is being generated by the PDE's javac
> task, it sends its output to log file with a name based on the "out"
> property.
>
> If you run a particular plugin build script and build a specific jar,
> the log file is generated correctly (for each of my jar files, I have
> specified a specific "out" property).  If you build all the jars for a
> specific plugin, it seems that the first "out" property is used for the
> log file name for EACH of the jars.  So, the log file for one jar is
> overwritten by the log of the next jar's build.
>
> How can each of the jars have their own log files and yet be built
> together?  One thought I just had was to change my "jar" target in each
> of the plugin build scripts to call each jar specifically (using
> "antcall")  instead of using the "depends" attribute.
>
> Thanks,
> Eric
>