[Anthill-pro] SVN Repo path

Ryan Smith rws at urbancode.com
Wed Jun 11 08:21:04 CDT 2008


Cool, I forgot the () at the end of getModuleArray.

Yanko, Curtis wrote:
> I got this to work:
>
> -Dsvn.url=${bsh:sourceConfig=BuildLifeLookup.getCurrent().getProfile().g
> etSourceConfig(); module=sourceConfig.getModuleArray(); return
> sourceConfig.getRepository().getSvnRoot() + "/" + module[0].getUrl()} 
>
>
> ===
> -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