wolips.properties hardcoded in build.xml
wolips.properties hardcoded in build.xml
- Subject: wolips.properties hardcoded in build.xml
- From: Markus Ruggiero <email@hidden>
- Date: Thu, 06 Jun 2013 10:09:51 +0200
The name wolips.properties is hardcoded in each build.xml
<property name="wolips.properties" value="${user.home}${file.separator}Library${file.separator}Application Support${file.separator}WOLips${file.separator}wolips.properties" />
Is there a way to make this dynamic? From Eclipse/WOLips preferences the name of the file is available. Can ant access this value?
Reason:
I have several customers with several Wonder projects. For each customer I have a separate workspace. Having a dedicated wolips.properties per customer (which is perfectly doable and works) I can have the customers completely independent of each other. Each customer can have its individual WebObjects and Wonder version. Also I can prevent customer frameworks (that must be installed for a build) to pollute my /Library/Frameworks folder. I would only have to edit the name for wolips.properties in all the build.xml. That is doable and is what I currently do.
A couple days ago I forgot that the build.xml references a custom named wolips.properties and sent the project to the customer. They were not able to build the application because at their site they use the standard named wolips.properties.
Therefore my question: can the reference to wolips.properties be found from the workspace settings and determined dynamically by ant?
Thanks a lot for any help ---markus---
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden