Re: Set a Property with the current directory name
Jeffrey Fredrick <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Can you say a bit more about the use case?
If, as in your example, the directory would be the same as the project name,
you can use the implicit property ${project.name}.
You might also take a look at the example that reference environment
variables:
http://cruisecontrol.sourceforge.net/main/configxml.html#property
Jtf
On Wed, Nov 17, 2010 at 4:44 AM, Peter <[email protected]> wrote:
> Hi,
>
>
>
> I am trying to work out how to set a property with the current directory
> name.
>
>
>
> For example if I was in “/usr/johndoe/cc/project1234”
>
>
>
> I would like to have a property set such that <property name="current_dir"
> value="project1234"/>
>
>
>
> Is there an easy way to do this?
>
>
>
> Thanks,
>
>
>
> Peter.
>
>
--
CITCON
Continuous Integration and Testing Conference
http://www.citconf.com/
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user