commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: [Jelly] pom.id.substring(33) in jelly-tags/tag-project.xml
Date Sun, 15 Aug 2004 20:08:31 GMT
Is this arithmetic a safe bet ?
I have to say that I don't like it too much and it would be nice to 
have needed accessors on the pom, if that would be possible.

paul


Le 15 août 04, à 11:44, Dion Gillard a écrit :

> id == groupId + ":" artifactId
>
> groupId == "commons-jelly"
> artifactId = "commons-jelly-tags-swt"
>
> id = "commons-jelly:commons-jelly-tags-swt"
>
> On Sun, 15 Aug 2004 14:10:35 +0800, Rice Yeh <rice_yeh@hotmail.com> 
> wrote:
>> Hi,
>>   I am new to maven and jelly. When i study project.xml in
>> jelly-tags/tag-project.xml, I get confused with the 
>> pom.id.substring(33).
>> What does the number 33 stand for? I think it should be 20 to stand 
>> for the
>> position of the last '-' in 'commons-jelly-tags-'. Take swt 
>> sub-project as
>> example, its id is commons-jelly-tags-swt, so pom.id.substring(20) is 
>> 'swt',
>> but pom.id.substring(33) is null. Am I right? I download jelly 
>> directly from
>> cvs.
>>
>> Regards,
>> Rice
>>
>> _________________________________________________________________
>> MSN 8 with e-mail virus protection service: 2 months FREE*
>> http://join.msn.com/?page=features/virus
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>>
>
>
> -- 
> http://www.multitask.com.au/people/dion/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message