Commit dfd31288 authored by Philippe Merle's avatar Philippe Merle

Used a relative path to the contribution file because URL.getPath() introduces...

Used a relative path to the contribution file because URL.getPath() introduces an error when the current path contains spaces.
parent fc1503fd
......@@ -137,10 +137,9 @@ public class AssemblyFactoryTest {
{
try
{
URL helloworldAnnotationsURL = AssemblyFactoryTest.class.getResource("/helloworld-annotations.zip");
ProcessingContext processingContext = frascati.newProcessingContext();
CompositeManager compositeManager=frascati.getCompositeManager();
compositeManager.processContribution(helloworldAnnotationsURL.getPath(), processingContext);
compositeManager.processContribution("src/test/resources/helloworld-annotations.zip", processingContext);
} catch (ManagerException e)
{
String exceptionMessage=e.getMessage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment