Thanks Damian,

That worked...

A simple testfunction like

IngestResponse response = new Ingest("test:pid").label("foo").execute(fedora);
            String pid = response.getPid();
            System.out.println(pid);

Gives that error message

Exception in thread "main" java.lang.Error: Unresolved compilation problem:
      The method getEntity(Class<T>) of type FedoraResponseImpl must override a 
superclass method

      at 
com.yourmediashelf.fedora.client.response.FedoraResponseImpl.getEntity(FedoraResponseImpl.java:83)
      at 
com.yourmediashelf.fedora.client.response.IngestResponse.getPid(IngestResponse.java:48)
      at fedoraClientExample.testfunction.main(testfunction.java:37)

(with the 0.1.3 jar that resulted in a javax.xml.bind.UnmarshalException ...)

What is wrong here?

Thanks,
Daniel
From: Damian Kaliszan [mailto:dam...@man.poznan.pl]
Sent: 25 May 2011 16:03
To: Support and info exchange list for Fedora users.
Subject: Re: [fcrepo-user] building fedora client

Hi Daniel,

Just to let you know. I downloaded 0.1.4, skipped the tests (same like you) and 
everything went ok...

p.s. Replace your source GetDissemination.java file with the one I sent a 
moment ago to the list.


regards,
Damian

W Twoim liście datowanym 25 maja 2011 (15:48:23) można przeczytać:

Hello,

I am trying to build fedora client https://github.com/mediashelf/fedora-client  
on Windows, jdk 1.6:

-          The build succeeds when disabling the integration tests, however the 
resulting jar "fedora-client-0.1.5-SNAPSHOT.jar" only contains xsd.access, 
xsd.foxml, xsd.management and the META-INF folder, but none of the packages and 
classes like com.yourmediashelf.fedora.client...

-          Having the integration tests activated results in the following 
errors for various tests:
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: 
java.security.InvalidAlgorithmParameterException: the trustAnchors parameter 
must be non-empty
Pom.xml is edited to specify
                <fedora.test.baseUrl>
<fedora.test.username>
<fedora.test.password>
<javax.net.ssl.trustStorePassword>
      Where does <javax.net.ssl.trustStorePassword> need to point to?


Many thanks for your tips!
daniel





------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to