[
https://issues.apache.org/jira/browse/TUSCANY-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846368#action_12846368
]
Simon Nash commented on TUSCANY-3501:
-------------------------------------
Relative file paths are working for me. Here's what I did:
1. In the travel sample, change directory to "testdomain"
2. From that directory, enter the command: java -cp
"%TUSCANY_HOME%"/lib/tuscany-sca-manifest.jar
org.apache.tuscany.sca.node.launcher.DomainManagerLauncher
3. From the Domain Manager GUI contributions tab, click "Add".
4. In the "Contribution URI" field, enter: introducing-tours
5. In the "Location" field, enter:
../contributions/introducing-tours/target/scatours-contribution-introducing-tours.jar
6. Press the "Add" button. The contribution is added successfully and its
deployable composites are found.
Can you provide similar details of what you did that caused the failure you are
seeing?
I also tried a "junk" location of ../foo/bar. This was accepted without
complaint, but clicking on the resulting contribution produced a 404 error.
> Domain manager doesn't work when adding relative contributions (was testing
> the travel sample)
> ----------------------------------------------------------------------------------------------
>
> Key: TUSCANY-3501
> URL: https://issues.apache.org/jira/browse/TUSCANY-3501
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Travel Sample
> Affects Versions: Java-SCA-1.6
> Environment: Windows XP SP2, Sun JDK 1.6_07
> Reporter: Simon Laws
>
> When adding a contribution to the domain manager "contributions" tab using a
> relative file path name the domain manager returns
> "post - Error getting data from the server"
> Strangely enough. If I put junk in the "location" field, i.e. the path to a
> file that doesn't exist, is appears to work.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.