Eric
Thanks for your reply.
And the file is updated here, I'm assuming. Why do you need script
to read a property file? I guess to increment it. How about using
propertyfile to do this instead?
The problem is that the version number is not held in a property file (although it
could
On Tuesday, January 21, 2003, at 04:11 AM, [EMAIL PROTECTED]
wrote:
The problem is that the version number is not held in a property file
(although it could be). This is one of the anthill 'features' -
anthill will maintain a version file, containing a version number:
prefixbuildNopostfix
Eric
I suspect Maciej is curious, as am I, why you are doing some tricks
with this file instead of letting Anthill itself handle it.
The 'tricks' are to enable us to build from the command line in addition to using
anthill. We still have a requirement to build by command line because anthill
Is there a way of getting a reference to the current project in JavaScript script
without knowing the project name first?
The question has been asked before - but that's where the thread ended.
http://marc.theaimsgroup.com/?l=ant-userm=98289502701027w=2
Regards
Simon
Simon Richardson
: Richardson, Simon (Treasury)
Sent: 20 January 2003 12:07
To: [EMAIL PROTECTED]
Subject: Reference to the Current Project
Is there a way of getting a reference to the current project
in JavaScript script without knowing the project name first?
The question has been asked before
On Monday, January 20, 2003, at 07:07 AM, [EMAIL PROTECTED]
wrote:
Is there a way of getting a reference to the current project in
JavaScript script without knowing the project name first?
Yes - there is the object 'project' that I added to the script task
that is the Project object
On Monday, January 20, 2003, at 08:34 AM, [EMAIL PROTECTED]
wrote:
My problem (***) is that I would like to 'antcall' some other target
(that contains my javascript) and in so doing set a property. However
I find that on returning from my antcall the property remains unset.
Reading the
Subject: Re: Reference to the Current Project
On Monday, January 20, 2003, at 08:34 AM,
[EMAIL PROTECTED]
wrote:
My problem (***) is that I would like to 'antcall' some
other target
(that contains my javascript) and in so doing set a
property. However
I find
On Monday, January 20, 2003, at 09:16 AM, [EMAIL PROTECTED]
wrote:
I guessed as much - I've used echo to create the property file - is
there an alternative way?
Not as a general solution. But perhaps what you're trying to do is
something that doesn't necessarily need properties being passed
I've personally never had a build scenario that required script or
for properties to be passed back up, so its hard for me to identify.
Could you describe your situation in more detail?
I'm trying to emulate the behaviour of anthill (certain anthill/PVCS limitations have
forced this on us)
On Monday, January 20, 2003, at 09:42 AM, [EMAIL PROTECTED]
wrote:
I'm trying to emulate the behaviour of anthill (certain anthill/PVCS
limitations have forced this on us) which maintains a version file.
The script merely opens a file and creates properties for an
oldVersion and newVersion.
11 matches
Mail list logo