Forums » User questions »
Building JSAGA from source
Added by Singh Lokendra about 15 years ago
Hi all,
When trying to build JSAGA from source, I face the following error :
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Artifact not installed: /home/lokendra/.m2/repository/org/codehaus/izpack/izpack-standalone-compiler/4.0.1/izpack-standalone-compiler-4.0.1.jar
.
.
However, the error occurs after all the important libraries like jsaga-engine, adaptors have been built up. So, I am still able to use the JSAGA libs.
But I was wondering as to how to resolve this error?
Cheers
Lokendra Singh
Replies (5)
RE: Building JSAGA from source
-
Added by Reynaud Sylvain about 15 years ago
Hi Lokendra,
You can download and install it manually:
wget http://grid.in2p3.fr/maven2/org/codehaus/izpack/izpack-standalone-compiler/4.0.1/izpack-standalone-compiler-4.0.1.jar mvn install:install-file -DgroupId=org.codehaus.izpack -DartifactId=izpack-standalone-compiler -Dversion=4.0.1 -Dpackaging=jar -Dfile=izpack-standalone-compiler-4.0.1.jar
Cheers,
Sylvain
Building JSAGA from source
-
Added by Singh Lokendra almost 15 years ago
Hi,
I am facing the following error while building the JSAGA from source. I am using vomsjapi-1.7.22.jar. Do I need to update this library ? or there is a problem with the code.(because I could not find the matching signature of the VOMSProxyInit.instance() method in the newer versions).
[INFO] Compilation failure
/home/lokendra/Desktop/jsaga/adaptors/jsaga-adaptor-voms/src/fr/in2p3/jsaga/adaptor/security/VOMSProxyFactory.java:[87,47] cannot find symbol
symbol : method instance(java.lang.String,java.lang.String,java.lang.String)
location: class org.glite.voms.contact.VOMSProxyInit
/home/lokendra/Desktop/jsaga/adaptors/jsaga-adaptor-voms/src/fr/in2p3/jsaga/adaptor/security/VOMSProxyFactory.java:[91,47] cannot find symbol
symbol : method instance(java.io.File,java.lang.String)
location: class org.glite.voms.contact.VOMSProxyInit
RE: Building JSAGA from source
-
Added by Reynaud Sylvain almost 15 years ago
Hi Lokendra,
The vomsjapi library has been patched in order to enable using it in a thread-safe way.
You can install the new version either by deleting directory ~/.m2/repository/org/glite/vomsjapi (because it is still the same version of this library), or by running this command from JSAGA project root:
mvn -f pom-unreleased.xml install
Cheers,
Sylvain
RE: Building JSAGA from source
-
Added by Alleon Guillaume almost 15 years ago
Hi Sylvain,
Could that problem have been avoided by a proper version management in the POM and by the glite team ? This is what I would expect from maven
Cheers
Guillaume
RE: Building JSAGA from source
-
Added by Reynaud Sylvain almost 15 years ago
Hi Guillaume,
By the glite team, probably not, because AFAIK they do not use maven.
But next time I need to patch a library, I will add a suffix in version number to avoid this problem, while keeping original version number unmodified for tracability.
Cheers,
Sylvain