Hi Doug,
thanks for the hint. I'll make sure that it's included in the next
distribution.
The file in the variables plugin is equal.
Ulrich
Am 28.08.2004 um 15:23 schrieb Doug McClure:
> Okay, sounds good. But this script isn't actually included in the
> woproject distribution. I finally found it in
> org.objectstyle.wolips.variables_1.1.0.82.jar in the WOLips
> distribution. Now that I've finally got it though, I'll give that a
> go. Thanks!!
>
> -d
>
>
> On Sat, 28 Aug 2004 10:13:06 +0200, Ulrich Köster
> <ulric..bjectstyle.org> wrote:
>> Hi Doug,
>>
>> we provide a little script to generate the wobuild.properties. The
>> script is included in the dist and the name is woproperties.xml.
>>
>> Just include the script in your build xml.
>>
>> First create a target in your build.xml:
>>
>> <!-- ========================================== -->
>> <!-- Check properties. -->
>> <!-- ========================================== -->
>> <target name="check">
>> <ant antfile="Path/woproperties.xml" target="check"/>
>> </target>
>>
>> Adjust the 'Path' to the file woproperties.xml in the 'check' target
>> just created.
>>
>> Let's assume your default target is named foo. The depends attribute
>> calls the check target.
>>
>> <target name="foo" depends="check">
>> //Your statements
>> </target>
>>
>> Whenever someone invokes ant the check target is executed first.
>>
>> The script within the file woproperties.xml generates the
>> wobuild.properties. The script should work on all platforms.
>>
>> Another thing that you should know is that the script 'fails' on the
>> first run. The user get's a message on the concole that he should try
>> it a second time.
>> After that everything should run smoothly.
>>
>> Ulrich
>>
>> Am 27.08.2004 um 21:27 schrieb Doug McClure:
>>
>>
>>
>>> Hi,
>>>
>>> I'm new to woproject, but I've got it working and building things
>>> just
>>> fine. I'm using the 1.1.0.82 beta 3 build, and primarily just trying
>>> to get all my Ant stuff working. My coworker ran into a problem with
>>> the wobuild.properties file, namely that he doesn't have one.
>>>
>>> I looked through the history on woproject, and back in Oct 2003 there
>>> was supposedly a patch made to woproject so that I wouldn't have to
>>> have a wobuild.properties file. But I couldn't find any explanation
>>> of how the patch worked, and I'm certainly having lots of propblems
>>> if
>>> that file doesn't exist.
>>>
>>> I want this project to be self-contained such that any developer on
>>> my
>>> team can check it out and build it w/o having to do anything special.
>>>
>>> Help!
>>>
>>> -doug
>>
>>
This archive was generated by hypermail 2.0.0 : Sat Aug 28 2004 - 10:12:31 EDT