Re: Reggie and maven-jini-plugin
tom nelson <[email protected]> Wed, 21 Mar 2007 15:16:08 -0400
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
This plugin used to work....
I looked thru the source and found that if I changed the return line
of the method in the class below to return str instead of "\"" + str
+ "\""
then it works again (at least on linux and OS X. Not sure about
windows...)
I cc'ed the project owner for this email.
Tom Nelson
public class FilePathUtil {
public static synchronized String escapeFilePath(String str) {
// str = str.replace(" ", "%20");
str = str.replace("\\", "/");
return "\"" + str + "\"";
}
On Feb 13, 2007, at 1:09 PM, Gregg Wonderly wrote:
> Morten Simonsen wrote:
>> Hi there and thanks for input
>>
>> On Tue, 2007-02-13 at 08:44 -0600, Gregg Wonderly wrote:
>>
>>>> -jar '"/home/morten/.m2/repository/org/jini/maven-jini-plugin/
>>>> resources/jini2_1/lib/start.jar"'
>>>
>>> I think that your problem is the double quotes here. Either use
>>> "" or '' but
>>> don't nest them.
>>
>>
>> I may be wrong here, but I think this quoting is not made by me. As I
>> have installed a lot this last days, I may be wrong (since I don't
>> remember every single step of all the installations), but I think
>> this
>> is done by the maven-jini-plugin itself. Anyhow, I'm not sure
>> where to
>> edit this, maybe there's a config-file or two inside Maven2?
>
> I am not a Maven user, so I am not sure of where these quotes are
> applied
> either. Perhaps someone else can share their expertise here?
>
> Gregg Wonderly
>
> ======================================================================
> =====
> To unsubscribe, send email to [email protected] and include in
> the body
> of the message "signoff JAVASPACES-USERS". For general help, send
> email to
> [email protected] and include in the body of the message "help".
>
> To view past JAVASPACES-USERS postings, please see:
> http://archives.java.sun.com/archives/javaspaces-users.html
>
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS". For general help, send email to
[email protected] and include in the body of the message "help".
To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html