[Anthill-pro] SVN Repo path
Yanko, Curtis
curt_yanko at uhc.com
Wed Jun 11 07:36:41 CDT 2008
Thanks, the Ant build step didn't like that on the parameter line
though.
2008-06-11 07:33:23,529 ERROR 140053 - Caught unexpected exception -
com.urbancode.anthill3.runtime.scripting.ScriptException:
org.apache.bsf.BSFException: BeanShell script error: Sourced file:
inline evaluation of: ``import
com.urbancode.anthill3.runtime.scripting.helpers.*;import
com.urbancode.a . . . '' : Cannot access field: getModuleArray, on
object: SvnSourceConfiguration [repository: SvnRepository [id: 178,
name: ov_ocp, description: Ovations OCP, svnRoot:
http://svn.uhc.com/svn/ov_ocp, userName: ??????, password: *****,
commandPath: null], module: SvnProjectConfig [url:
template_project/trunk, branchUrl: , branch: , tagUrl:
template_project/tags, tag: , revision: , offset: ]] : at Line: 1 : in
file: inline evaluation of: ``import
com.urbancode.anthill3.runtime.scripting.helpers.*;import
com.urbancode.a . . . '' : sourceConfig .getModuleArray
===
-Curt
W: 860.702.9059
M: 860.881.2050
-----Original Message-----
From: Ryan Smith [mailto:rws at urbancode.com]
Sent: Wednesday, June 11, 2008 7:54 AM
To: Yanko, Curtis
Cc: AnthillPro user and support list.
Subject: Re: [Anthill-pro] SVN Repo path
Curtis,
For Subversion, the source config can have multiple modules and
hopefully you only have one to make this easier. You can complete the
URL with:
${bsh:sourceConfig =
BuildLifeLookup.getCurrent().getProfile().getSourceConfig();
return sourceConfig.getRepository().getSvnRoot() + "/" +
sourceConfig.getModuleArray[0].getUrl()}
Yanko, Curtis wrote:
> Ryan,
>
> I tried SourceConfig but it gave me the whole config. How do I get the
> 'rest' of the svn url for the workflow?
>
>
> ===
> -Curt
> W: 860.702.9059
> M: 860.881.2050
>
> -----Original Message-----
> From: anthill-pro-bounces at lists.urbancode.com
> [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Ryan
> Smith
> Sent: Tuesday, June 10, 2008 9:27 AM
> To: AnthillPro user and support list.
> Subject: Re: [Anthill-pro] SVN Repo path
>
> ${bsh:BuildLifeLookup.getCurrent().getProfile().getSourceConfig().getR
> ep
> ository().getSvnRoot()}
>
> This gets the URL from the repository. Do you need to concatenate it
> with the source config or module information?
>
> Ryan
>
> Yanko, Curtis wrote:
>
>> Can I retrieve this value with a script (like grabbing a stamp) so I
>> can pass it into builds to get in manifest?
>>
>> Also, a date/time stamp? I'll dig around the helper script stuff but
>> I'm awful at this game!
>>
>>
>> ===
>> -Curt
>> W: 860.702.9059
>> M: 860.881.2050
>>
>>
>>
>> This e-mail, including attachments, may include confidential and/or
>> proprietary information, and may be used only by the person or entity
>> to which it is addressed. If the reader of this e-mail is not the
>> intended recipient or his or her authorized agent, the reader is
>> hereby notified that any dissemination, distribution or copying of
>> this e-mail is prohibited. If you have received this e-mail in error,
>> please notify the sender by replying to this message and delete this
>>
> e-mail immediately.
>
>> _______________________________________________
>> Anthill-pro mailing list
>> Anthill-pro at lists.urbancode.com
>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>>
>>
>>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the
> intended recipient or his or her authorized agent, the reader is
> hereby notified that any dissemination, distribution or copying of
> this e-mail is prohibited. If you have received this e-mail in error,
> please notify the sender by replying to this message and delete this
e-mail immediately.
>
>
>
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
More information about the Anthill-pro
mailing list