1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 <2006> 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 <2006> 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: ant problem when building Irmis |
From: | Claude Saunders <[email protected]> |
To: | Lecorche Eric <[email protected]> |
Cc: | [email protected] |
Date: | Tue, 07 Nov 2006 09:34:52 -0600 |
Hi Claude,
Thanks to your help, I was so able to perform the "ant deploy" for the db directory ; to achieve properly that, I had to add the jce.jar and xml-apis.jar into the build.xml file
Now the problem comes for the apps directory, when running there "ant deploy" first I get the following error messages :
/compile:
[javac] Compiling 107 source files to /home/epics1/Irmis/irmisBase/apps/build/classes
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/DummySSLSocketFactory.java:7: error: ne peut repérer le package par défaut « javax.net.ssl ». Vérifier la variable d'environnement CLASSPATH et l'accès aux archives.
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/SimpleCallbackHandler.java:12: error: Superinterface `CallbackHandler' of class `gov.anl.aps.irmis.login.SimpleCallbackHandler' not found.
[javac] public class SimpleCallbackHandler implements CallbackHandler {
[javac] ^
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/SimpleCallbackHandler.java:22: error: Type `Callback' not found in the declaration of the argument `callbacks' of method `handle'.
[javac] public void handle(Callback[] callbacks)
[javac] ^
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/SimpleCallbackHandler.java:23: error: Class `UnsupportedCallbackException' not found in `throws'.
[javac] throws IOException, UnsupportedCallbackException {
[javac] ^
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/SimpleCallbackHandler.java:33: error: Type `NameCallback' not found in the declaration of the local variable `nc'.
[javac] NameCallback nc = (NameCallback)callbacks[i];
[javac] ^
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/SimpleCallbackHandler.java:41: error: Type `PasswordCallback' not found in the declaration of the local variable `pc'.
[javac] PasswordCallback pc = (PasswordCallback)callbacks[i];
[javac] ^
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/PersonRoleLoginModule.java:27: error: Superinterface `LoginModule' of class `gov.anl.aps.irmis.login.PersonRoleLoginModule' not found.
[javac] public class PersonRoleLoginModule implements LoginModule {/
[... may other errors ...]
/[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/apps/pv/cfw/PVWindow.java:0: internal compiler error: Erreur de segmentation
[javac] SVP soumettre un rapport complet d'anomalies,
[javac] avec le source pré-traité si cela est approprié.
[javac] Consulter <URL:http://bugzilla.redhat.com/bugzilla/> pour les instructions.
/
So I imagined to do the same as for the db directory : we found that the javax.net.ssl package was in the jsse.jar file and I added the path to this jar file. Therefore, I get the following errors
c/ompile:
[javac] Compiling 107 source files to /home/epics1/Irmis/irmisBase/apps/build/classes
[javac] /home/epics1/Irmis/irmisBase/apps/src/CFWDemo/DemoDocument.java:0: error: archive .zip mal composée dans CLASSPATH: /usr/java/jre/lib/jsse.jar/
[javac] /home/epics1/Irmis/irmisBase/apps/src/gov/anl/aps/irmis/login/DummySSLSocketFactory.java:7: error: ne peut repérer le package par défaut « javax.net.ssl ». Vérifier la variable d'environnement CLASSPATH et l'accès aux archives.
[javac] /home/epics1/Irmis/irmisBase/apps/src
/[... same errors as in the first case ... ]
So first it does not solve the problem (javax.net.ssl is no longer found) and furthermore a new error occurs telling that "the archive .zip is badly organized into /usr/java/jre/lib/jsse.jar"). As I didn't find anything concerning this error and not being a Java expert, I don't manage to go further at this point ...
Any new idea to help me to get out from this ?
Thanks in advance
Eric