AnsweredAssumed Answered

Import/Export Command line

Question asked by vpoorboy on Jul 6, 2006
Latest reply on Sep 5, 2006 by ksapenov
Hi,
I use Alfresco 1.3 GA and follow the export command guide found in the wiki, but I dont know where is the correct classpath

java -cp "classes;lib/repository.jar;lib/core.jar;lib/spring.jar;lib/jibx-run.jar;lib/xpp3.jar;
lib/commons-logging.jar;lib/ehcache-1.2-patched.jar;lib/dom4j-1.6.1.jar;
lib/acegi-security-0.8.2.jar;lib/hibernate-3.1.3.jar;lib/quartz.jar;lib/pdfbox-0.7.2.jar;
lib/poi-2.5.1.jar;lib/jooconverter.jar;lib/jid3lib-0.5.jar;lib/freemarker.jar;lib/log4j-1.2.8.jar;
lib/cryptix-jce-provider.jar;lib/commons-codec-1.3.jar;lib/jta.jar;lib/mail.jar;
lib/activation.jar;lib/jug.jar;lib/commons-collections-3.0.jar;lib/cglib-nodep-2.1.jar;
lib/antlr-2.7.5H3.jar;lib/tm-extractors-0.4_patched.jar;lib/ridl.jar;lib/juh.jar;lib/jurt.jar;
lib/sandbox.jar;lib/jut.jar;lib/lucene-1.4.3.jar;
/opt/alfresco/tomcat/common/lib/mysql-connector-java-3.1.12-bin.jar;lib/saxpath.jar;
lib/jaxen-1.1-beta-8.jar" org.alfresco.tools.Export -h

So I got the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/alfresco/tools/Export

I also cannot find 2 files: commons-dbcp-1.2.1.jar, commons-pool.jar
Pls help.
Thanks.

Outcomes