You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2006/01/12 22:45:01 UTC

[jira] Closed: (MPNATIVE-13) Jelly tokenize incorrect behaviour

     [ http://jira.codehaus.org/browse/MPNATIVE-13?page=all ]
     
Lukas Theussl closed MPNATIVE-13:
---------------------------------

     Resolution: Fixed
    Fix Version: 1.2

> Jelly tokenize incorrect behaviour
> ----------------------------------
>
>          Key: MPNATIVE-13
>          URL: http://jira.codehaus.org/browse/MPNATIVE-13
>      Project: maven-native-plugin
>         Type: Bug

>     Versions: 1.2, 1.1
>  Environment: linux (Fedora Core 3)
>     Reporter: baleineca
>      Fix For: 1.2
>  Attachments: MPNATIVE-13.diff
>
>
> plugin.jelly starting at line 114, there is an attempt to add dependencies of type .so or .dll to libset or syslibset.
> It appears that jelly util tokenize with delim value of "lib" doesn't tokenize on the whole word "lib", which I believe is intended, but tokenizes on either "l" or "i" or "b".
> I ran the tokenizer script with some echos, here is the result:
>     [echo] dep = libjellybellyfish.so
>     [echo] index equals 0, libname = je
>     [echo] index greater than  0, libname = jeliby
>     [echo] index greater than  0, libname = jelibylibe
>     [echo] index greater than  0, libname = jelibylibelibyf
>     [echo] index greater than  0, libname = jelibylibelibyflibsh.so
> yes... the final libname is not very pretty!!!
> I haven't found a way yet to be able to pass a delim string to tokenize.   As a work around, I will just comment that part of the script and deal with including dependencies manually as link args.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org