Re: please help on compile slide, debug slide in eclipse
Honoré David <[email protected]>
| Newsgroups | gmane.comp.jakarta.slide.devel |
|---|---|
| Message-ID | <[email protected]> |
Slide source works well for me in eclipse. There is my .classpath file. You need to define a classpath variable CATALINA_HOME to the root of a tomcat installation. You still need to compile with ant if you want the jar with different names (kernel / store / ...) but you can attach the source to a jar with that configuration. <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="proposals/taglib/src/common"/> <classpathentry kind="src" path="proposals/taglib/src/struts"/> <classpathentry kind="src" path="src/jaas"/> <classpathentry kind="src" path="src/jdk14"/> <classpathentry kind="src" path="src/roles"/> <classpathentry kind="src" path="src/share"/> <classpathentry kind="src" path="src/stores"/> <classpathentry kind="src" path="src/util"/> <classpathentry kind="src" path="src/webdav/server"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/> <classpathentry kind="lib" path="lib/commons-collections-2.1.jar"/> <classpathentry kind="lib" path="lib/commons-dbcp-1.2.1.jar"/> <classpathentry kind="lib" path="lib/commons-httpclient.jar"/> <classpathentry kind="lib" path="lib/commons-pool-1.1.jar"/> <classpathentry kind="lib" path="lib/commons-transaction-1.0.jar"/> <classpathentry kind="lib" path="lib/ehcache-1.0.jar"/> <classpathentry kind="lib" path="lib/geronimo-jta.jar"/> <classpathentry kind="lib" path="lib/jakarta-slide-webdavlib-2.1.jar"/> <classpathentry kind="lib" path="lib/jaxen-core.jar"/> <classpathentry kind="lib" path="lib/jaxen-jdom.jar"/> <classpathentry kind="lib" path="lib/jdom-1.0.jar"/> <classpathentry kind="lib" path="lib/log4j-1.2.8.jar"/> <classpathentry kind="lib" path="lib/lucene-1.4-final.jar"/> <classpathentry kind="lib" path="lib/PDFBox-0.6.5.jar"/> <classpathentry kind="lib" path="lib/poi-2.5-final-20040428.jar"/> <classpathentry kind="lib" path="lib/saxpath.jar"/> <classpathentry kind="lib" path="lib/servlet-2.3.jar"/> <classpathentry kind="lib" path="lib/tm-extractors-0.4.jar"/> <classpathentry kind="lib" path="lib/xml-im-exporter1.1.jar"/> <classpathentry kind="lib" path="proposals/taglib/lib/struts-1.1.jar"/> <classpathentry kind="src" path="src/wrappers"/> <classpathentry kind="var" path="CATALINA_HOME/bin/jmx.jar"/> <classpathentry kind="output" path="build"/> </classpath> Hugues Vedrenne wrote: >Hello, > >With Slide's sources I have plenty of : "The declared package does not match the expected package". So I solve this problem in that eclipse can build the project. > >However I still compile with the original presentation of slide's sources to be able to use the build.xml with ant. >Would you have a build.xml, to ant, adapted ti corrected presentation allowing eclipse compiling project ? > >Despite this problem of compilation, I can start slide in eclipse. But I can't attach sources to slide-kernel. Eclipse store the information but the icon still the same. >Could you also tell me how put breakpoints in the servlet ? knowing I use jars, as tell in Getting Started using Eclipse, and can't attach the sources. > >By advance thank you > > > > >--------------------------------- > Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Cliquez ici. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]