This commit is contained in:
Lucio Lelii 2009-01-21 20:50:36 +00:00
parent 85df4d9b06
commit 3c9b0e5198
2 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,6 @@
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/VREMODELERLIBS"/>
<classpathentry kind="lib" path="/home/lucio/gCore/lib/MetadataBrokerLibrary.jar"/>
<classpathentry kind="lib" path="/home/lucio/gCore/lib/org.gcube.metadatamanagement.metadatabroker.stubs.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/GCORELIBS"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/GCORELIB"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -32,7 +32,7 @@ public class LayoutCreation {
resource.setName("Layout_"+splitScope[1]+"_"+splitScope[2]+"_"+this.vreName);
resource.setSecondaryType("VRE");
ISPublisher publisher= GHNContext.getImplementation(ISPublisher.class);
publisher.registerGCUBEResource(resource, ServiceContext.getContext().getScope(), ServiceContext.getContext());
System.out.println(publisher.registerGCUBEResource(resource, ServiceContext.getContext().getScope(), ServiceContext.getContext()));
}