Mouna, This seems like an ANT compile problem. If I were you, I would subscribe to and post this to the Apache ANT user list at ( http://ant.apache.org/mail.html) and include your ANT build script (usually build.xml), and let the friendly folks know which ANT target is giving you all that trouble.
By the way, whomever used .classpath as a reference in your build must have had the file originate in some derivation of Eclipse because of the eclipse reference in the JRE_CONTAINER classpath con entry. HTH, John Walker On 4/25/06, mouna SAHIB <[EMAIL PROTECTED]> wrote: > > Thank you for your answers all! > To answer most of your questions: > - I use neither Eclipse/ RAD nor WSAD/Eclipse! As I said other persons > developped the GUI module and it doesn't seem they have used these tools! > -I think that I've included all required files inthe classpath unless > there > is some specific files to include when using jdk 1.5 !! What suprised me > is > that my application run normally whith jdk 1.4.2, and even the jars > included in the .classpath was read without any problems! Here is my > .classpath: > > > <?xml version="1.0" encoding="UTF-8"?> > <classpath> > <classpathentry kind="src" path=""/> > <classpathentry exported="true" kind="lib" path="ant-contrib-0.6.jar > "/> > <classpathentry exported="true" kind="lib" path=" > castor-0.9.5.3-xml.jar > "/> > <classpathentry exported="true" kind="lib" path="commons-beanutils.jar > "/> > <classpathentry exported="true" kind="lib" path="commons-codec-1.2.jar > "/> > <classpathentry exported="true" kind="lib" path=" > commons-collections-2.1.1.jar"/> > <classpathentry exported="true" kind="lib" path="commons-digester.jar > "/> > <classpathentry exported="true" kind="lib" path="commons-el.jar"/> > <classpathentry exported="true" kind="lib" path=" > commons-fileupload-1.0.jar"/> > <classpathentry exported="true" kind="lib" path=" > commons-httpclient-2.0.jar"/> > <classpathentry exported="true" kind="lib" path=" > commons-logging-1.0.4.jar"/> > <classpathentry exported="true" kind="lib" path="commons-validator.jar > "/> > <classpathentry exported="true" kind="lib" path="j2ee.jar"/> > <classpathentry exported="true" kind="lib" path="JCup.jar"/> > <classpathentry exported="true" kind="lib" path="jdbc-se2.0.jar"/> > <classpathentry exported="true" kind="lib" path="jdom.jar"/> > <classpathentry exported="true" kind="lib" path="jndi.jar"/> > <classpathentry exported="true" kind="lib" path="joram-client.jar"/> > <classpathentry exported="true" kind="lib" path="joram-connector.jar > "/> > <classpathentry exported="true" kind="lib" path="joram-mom.jar"/> > <classpathentry exported="true" kind="lib" path="joram-shared.jar"/> > <classpathentry exported="true" kind="lib" path="jta1.0.1.jar"/> > <classpathentry exported="true" kind="lib" path="log4j-1.2.8.jar"/> > <classpathentry exported="true" kind="lib" path="Odis2Component.jar"/> > <classpathentry exported="true" kind="lib" path="ojdbc14_g.jar"/> > <classpathentry exported="true" kind="lib" path="ow_jonas_ant.jar"/> > <classpathentry exported="true" kind="lib" path="ow_monolog.jar"/> > <classpathentry exported="true" kind="lib" path="xerces.jar"/> > <classpathentry exported="true" kind="lib" path="xercesImpl.jar"/> > <classpathentry kind="con" path=" > org.eclipse.jdt.launching.JRE_CONTAINER > "/> > <classpathentry kind="output" path=""/> > </classpath> > > Does the last line <classpathentry kind="con" path=" > org.eclipse.jdt.launching.JRE_CONTAINER"/> affect the use of the jre > chosen? > > All in all, I'm almost blocked in this step of building my project!! > And I remind that when I remove the GUI module from the build, the > application run fine!!! > > I'll be gratefull for any help ! > Thanks > Mouna > > > > 2006/4/25, John Walker <[EMAIL PROTECTED]>: > > > > You are using WSAD/Eclipse, correct? In which case your .classpath file > > points to all of those nifty things in your project that should be used > to > > compile your application, including the classes and libraries that are > > referenced by the compiler and run-time code. > > > > To me, it sounds like you have a ZIP or a JAR file on your CLASSPATH > > (referenced in the .classpath file) that cannot be read using the ZIP > > libraries in WSAD/Eclipse. In other words... one of the files in your > > classpath is supposed to be either a ZIP or a JAR but is not. > > > > Do you have a DLL, readme.TXT or some other non-zip file referenced by > > your > > project's classpath? > > > > Regards, > > John Walker > > > > On 4/25/06, mouna SAHIB <[EMAIL PROTECTED]> wrote: > > > > > > Hello everybody, > > > > > > I'm not a specialist using struts, but I did some work with it in last > > > months. > > > Now, I'm working on project using the jdk1.4.2 and I'v moved to jdk > 1.5to > > > have plenty use of aspectj 5 (an AOP tool). > > > > > > I don't know if there is a compatiblity problem using struts 1.2.8with > > > java 5: > > > I converted a module of my application into an apsectj tool and use > jdk > > > 1.5. > > > The module that causes problem is my GUI module which uses struts. > > > When I build (using ant) I have the following error: > > > [javac] error: error reading C:\projets\M_LIB\.classpath; error in > > > opening zip file > > > > > > I see that there isa new tool to use java 5 with struts "strecks" but > > I'm > > > not supposed to work on the struts module, and shouldn't(other people > > > developped it) and I'm wondering how to get rid of that compiling > error! > > > > > > Any ideas please? > > > Thanks > > > > > > > > > > > >