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
> Contribution contribution = contributionService.contribute("
> http://calculator",
> contributionURL,
> resolver,
> false);
> Composite composite = contribution.getDeployables().get(0);
>
> // Add the deployable composite to the domain
> domain.getDomainComposite().getIncludes().add(composite);
> domain.getCompositeBuilder().build(composite);
On Linux you should write:
ContributionURL = new URL("file://" +
currentDirectory.getCanonicalPath() + "/src/main/resources/" + nodeName
+"/");
See my previous post.
Cheers,
Jo.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]