Re: Contribution URLs

2007-08-17 Thread Giorgio Zoppi
On Fri, 2007-08-10 at 08:18 +0100, Simon Laws wrote: This was the piece of code that was causing me problems... contributionURL = new URL(file:/ + currentDirectory.getCanonicalPath() + /src/main/resources/ + nodeName + /); // Contribute the SCA application

Re: Contribution URLs

2007-08-10 Thread Simon Laws
On 8/9/07, Luciano Resende [EMAIL PROTECTED] wrote: Hi Simon, Could you please send the exact URL you are passing to the contribution service ? I have added a test case for what I understood your problem is, and that is working fine, but note that in the test case, I'm calling

Re: Contribution URLs

2007-08-10 Thread Simon Laws
On 8/10/07, Luciano Resende [EMAIL PROTECTED] wrote: I think your current directory, during the execution of the code, will not be mapped to the root of you project, but probably to target/classes or target/test-classes. Could you check that please ? On 8/10/07, Simon Laws [EMAIL PROTECTED]

Re: Contribution URLs

2007-08-10 Thread Luciano Resende
I think your current directory, during the execution of the code, will not be mapped to the root of you project, but probably to target/classes or target/test-classes. Could you check that please ? On 8/10/07, Simon Laws [EMAIL PROTECTED] wrote: On 8/9/07, Luciano Resende [EMAIL PROTECTED]

Contribution URLs

2007-08-09 Thread Simon Laws
I've just noticed that if I have a contribution directory as follows /my/contribution/dir/mycomposite.composite And I pass the source URL /my/contribution/dir to the contribution service it complains that it can't find /my/contribution/mycomposite.composite. If I pass the source URL