Hi,
you can not change properties. This is default ant behavior.
Take a look at this target:
<!-- property determination -->
<target name="setProps">
<property file="build.properties"/>
<property
file="${user.home}${file.separator}Library${file.separator}wobuild.prope
rties"/>
<condition property="wo.properties.check.failed">
<not>
<and>
<isset property="wo.wosystemroot"/>
<isset property="wo.wolocalroot"/>
</and>
</not>
</condition>
<fail message="Could not find
${user.home}${file.separator}Library${file.separator}wobuild.properties.
" if="wo.properties.check.failed"/>
<property name="install.dir"
value="${wo.wolocalroot}/Library/Frameworks"/>
</target>
To change the $woframework.name open the build.properties and change it
to whatever you want.
To change the installdir:
Instead of
<property name="install.dir"
value="${wo.wolocalroot}/Library/Frameworks"/>
this
<property name="install.dir"
value="${wo.wolocalroot}/Library/MyFrameworks"/>
or
<property name="install.dir" value="C:\Foo"/>
or remove the line if the install.dir is defined in a properties file.
Please let me know if keed further assistance with it.
About your second problem.
Could you try this.
Open Eclipse.
Window->Preferences->WOLips and select 'Rebuild wobuild.properties on
next launch' and click on Ok.
Quit Eclipse.
Rename your workspace to workspace.old.
Rename your wobuild.properties to wobuild.properties.old.
Relaunch Eclipse.
Create a new Application and check if the classpath is still incorrect.
The next steps depends on the result from the steps above.
Ulrich
Your OS/Java/Ant combination should not be the problem.
Am Montag, 02.06.03 um 12:27 Uhr schrieb Michele Rossi:
> Hi all,
> I am having the following two problems with WOLips:
>
> --------------
> Problem 1: when I try to install a framework, the install destination
> remains ".", and the location specified in wobuild.properties is
> ignored.
>
> This an extract from the Ant console output (see attachment for full
> console dump)
> <<ant.output.install_framework.txt>>
> setProps:
> [property] Loading
> D:\eclipse\workspace\MyFramework\build.properties
> Override ignored for property framework.name
> Override ignored for property classes.dir
> [property] Loading C:\Documents and
> Settings\RossiM\Library\wobuild.properties
> Override ignored for property wo.dir.root
> Override ignored for property wo.woroot
>
>
> Why is Ant "ignoring the override"?
>
> Is anyone experiencing the same?
>
>
>
>
> ---------------
> Problem 2: when I add a local framework to my woapp, the corresponding
> entry is not added to my CLSSPATH.txt nor to UNIXClassPath.txt.
>
> Ant is not making "include" files such as
>
> [woapplication] Copying D:\eclipse\workspace\MyProject\Properties to
> D:\eclipse\workspace\MyProject\MyProject.woa\Contents\Resources\Propert
> ies
>
> [woapplication] Includesfile
> D:\eclipse\workspace\MyProject\ant.frameworks.wo.wosystemroot not
> found.
> [woapplication] Includesfile
> D:\eclipse\workspace\MyProject\ant.frameworks.wo.wolocalroot not > found.
> [woapplication] Includesfile
> D:\eclipse\workspace\MyProject\ant.frameworks.user.home not found.
> [woapplication] Includesfile
> D:\eclipse\workspace\MyProject\ant.classpaths.wo.wosystemroot not
> found.
>
> again, see the other attachment for the full console dump.
>
> <<ant_output_build_woapp.txt>>
>
> I am running Eclipse Version: 2.1.0 - Build id: 200305280800 and
> WOLips 1.0.1. on Windows XP, Java 1.4.1_02-b06.
>
> I have tried with various versions of eclipse and WOLips. No
> difference.
>
> Someone says it could be to do with running XP but I find it hard to
> believe as Ant is a pure java application, right?
>
> any help/opinion would be greatly appreciated.
>
> thanks a lot
> Michele
>
>
>
>
> BBCi at http://www.bbc.co.uk/
>
> This e-mail (and any attachments) is confidential and may contain
> personal views which are not the views of the BBC unless specifically
> stated.
> If you have received it in error, please delete it from your system, do
> not use, copy or disclose the information in any way nor act in
> reliance on it and notify the sender immediately. Please note that the
> BBC monitors e-mails sent or received. Further communication will
> signify your consent to this.
> <ant.output.install_framework.txt><ant_output_build_woapp.txt>
This archive was generated by hypermail 2.0.0 : Mon Jun 02 2003 - 07:22:56 EDT