Sei sulla pagina 1di 10

Passione Informatica: (Documentum) Creare un progetto webtop in eclipse

Pagina 1 di 10

luned 21 maggio 2007

(Documentum) Creare un progetto webtop in eclipse


In questo tutorial vedremo come creare un nuovo progetto wdk in eclipse. Per le esercitazioni che passer ad illustrare utilizzer come base l'applicazione TUBI creata su TOMCAT mediante il WDK installer. La versione di riferimento di Documentum che user per gli sviluppi la 5.3 SP1. I prerequisiti per eseguire questa esercitazione sono dunque i seguenti: - L'installazione di un Content Server Documentum 5.3 SP1 correttamente configurato. - L'installazione sul client di sviluppo di Webtop 5.3 SP1 - L'installazione sul client di sviluppo di Tomcat 5.0.28 - L'installazione sul client di sviluppo di j2sdk 1.4.2_08 - L'installazione di eclipse ver 3.0 configurato per lavorare con Tomcat - Browser Internet Exporer 5.5 o superiore - L'installazione (opzionale) di una nuova wdk application basata su webtop (TUBI), altrimenti possibile lavorare personalizzando direttamente webtop. Dopo aver lanciato eclipse creare un nuovo progetto JAVA nel modo seguente: dal menu file selezionare la voce File-->New-->Project... Verr cos visualizzata la seguente schermata:

http://passioneinformatica.blogspot.com/2007/05/creare-un-progetto-webtop-in-eclipse.html

24/05/2007

Passione Informatica: (Documentum) Creare un progetto webtop in eclipse

Pagina 2 di 10

Nelle voci presenti scegliete JAVA PROJECT e premente il pulsante NEXT.

http://passioneinformatica.blogspot.com/2007/05/creare-un-progetto-webtop-in-eclipse.html

24/05/2007

Passione Informatica: (Documentum) Creare un progetto webtop in eclipse

Pagina 3 di 10

Nella schermata successiva inserite come Project name: 'Tubi' e per Location 'Create project at external location'. Nel campo Directory inserite il percorso su indicato ovvero: {catalina-home}\webapps\{cartella della wdk application} Tip: CATALINA-HOME la home directory di Tomcat e viene settata come variabile d'ambiente durante la sua installazione. Premete il pulsante NEXT per visualizzare la maschera al passo successivo:

http://passioneinformatica.blogspot.com/2007/05/creare-un-progetto-webtop-in-eclipse.html

24/05/2007

Passione Informatica: (Documentum) Creare un progetto webtop in eclipse

Pagina 4 di 10

Tip: Durante la creazione di un nuovo progetto eclipse a volte "resto" a collaborare, ovvero tende ad andare in crash. Se poi nel PC presente meno di 512MB di memoria meglio lasciar perdere! L'ideale sarebbe lavorarci su con 1GB di memoria ed anche in quest'ultimo caso bene armarsi di pazienza! In ogni caso eclipse rimane lo strumento migliore per sviluppare moduli Java con Documentum. In questa maschera andate sulla tab LIBRARIES e verificate che siano presenti i JAR contenuti in questa lista: ----------------------------------------------------------------------------------<classpathentry kind="lib" path="unstripped.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/clientDetect.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/ContentXfer.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/detector.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/FullContentXfer.jar"/>

http://passioneinformatica.blogspot.com/2007/05/creare-un-progetto-webtop-in-eclipse.html

24/05/2007

Passione Informatica: (Documentum) Creare un progetto webtop in eclipse <classpathentry kind="lib" path="wdk/contentXfer/mac_contentxfer_osx.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/mac_contentxfer.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/mac_FullContentxfer_osx.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/mac_FullContentxfer.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/mac_utilities.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/MacOSXForker.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/MB_distribute.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/ucf-clientapi.jar"/> <classpathentry kind="lib" path="wdk/contentXfer/ucf-clientimpl.jar"/> <classpathentry kind="lib" path="wdk/fileselector/fileSelector.jar"/> <classpathentry kind="lib" path="wdk/fileselector/fileSelector1_1.jar"/> <classpathentry kind="lib" path="wdk/system/ucfinit.jar"/> <classpathentry kind="lib" path="wdk/webwfm/clientJVMDetect.jar"/> <classpathentry kind="lib" path="wdk/webwfm/jloox20.jar"/> <classpathentry kind="lib" path="wdk/webwfm/webwfde.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/commonsbeanutils.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/commonscollections-3.0.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/commonsfileupload-1.0.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/commons-httpclient2.0-rc1.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/commons-io1.0.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/commonslogging.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/dom3xercesImpl.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/dom3-xmlapis.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/ldapfilt.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/ldapjdk.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/mail.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/portlet.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/regexp.jar"/> <classpathentry kind="lib" path="WEBINF/lib/relaxngDatatype.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/ucf-server-api.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/ucf-serverimpl.jar"/> <classpathentry kind="lib" path="WEB-

Pagina 5 di 10

http://passioneinformatica.blogspot.com/2007/05/creare-un-progetto-webtop-in-eclipse.html

24/05/2007

Passione Informatica: (Documentum) Creare un progetto webtop in eclipse INF/lib/webwfdeserver.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/XformsChiba.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/XformsEngine.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/xml-ca.jar"/> <classpathentry kind="lib" path="WEB-INF/lib/xsdlib.jar"/> <classpathentry kind="lib" path="webtop/contentxfer/detector.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/xtrim-api.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/admin.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/All-MB.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/ant.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/ant-ext.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/ant-launcher.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/bpmutil.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/bsf.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/castor-0.9.5.2.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/ci.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/collaboration.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/commons-jxpath-1.1.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/ctsTransform.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/ctsTransformImpl.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/Dart.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/DDS.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/dfc.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/dfcbase.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/DmcRps.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/IDmcRps.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/IDmcRpsModules.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/log4j.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/mailhandler.jar"/> <classpathentry kind="lib" path="C:/Program

Pagina 6 di 10

http://passioneinformatica.blogspot.com/2007/05/creare-un-progetto-webtop-in-eclipse.html

24/05/2007

Passione Informatica: (Documentum) Creare un progetto webtop in eclipse Files/Documentum/Shared/mailmessage.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/poi-2.5.1-final-20040804.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/poi-contrib-2.5.1-final-20040804.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/poi-scratchpad-2.5.1-final20040804.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/rpm.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/rpmSupport.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/subscription.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/widgets.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/workflow.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/wstools.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/xalan.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/xercesImpl.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/xforms.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/XformsCommon.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/xml-apis.jar"/> <classpathentry kind="lib" path="C:/Program Files/Documentum/Shared/xmlParserAPIs.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/servlet-api.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/ant.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/ant-launcher.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/commons-collections-3.1.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/commons-dbcp-1.2.1.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/commons-el.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/commons-pool-1.2.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/jasper-compiler.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/jasper-runtime.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/jsp-api.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat-

Pagina 7 di 10

http://passioneinformatica.blogspot.com/2007/05/creare-un-progetto-webtop-in-eclipse.html

24/05/2007

Passione Informatica: (Documentum) Creare un progetto webtop in eclipse 5.0.28/common/lib/naming-common.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/naming-factory.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/naming-java.jar"/> <classpathentry kind="lib" path="C:/jakarta-tomcat5.0.28/common/lib/naming-resources.jar"/> -------------------------------------------

Pagina 8 di 10

Eventualmente utilizzate i pulsanti ADD JARS, ADD EXTERNAL JARS, ADD LIBRARY per le necessarie aggiunte. Al termine della verifica sempre in questa maschera premete il pulsante ADD CLASS FOLDER.

http://passioneinformatica.blogspot.com/2007/05/creare-un-progetto-webtop-in-eclipse.html

24/05/2007

Passione Informatica: (Documentum) Creare un progetto webtop in eclipse

Pagina 9 di 10

In quest'ultima maschera premete il pulsante CREATE NEW FOLDER.

Inserite come folder name: wdkClasses, premete il pulsante ADVANCED, attivate la scelta LINK TO FOLDER IN THE FILE SYSTEM e mediante il pulsante BROWSE scegliete il percorso: C:\jakarta-tomcat-5.0.28\webapps\Tubi\WEB-INF\classes Premete poi il pulsante OK per confermare le scelte. Premete nuovamente Ok nella maschera sottostante. Premete poi il pulsante FINISH per completare la creazione del nuovo progetto. Tip: se dovesse mancare qualche libreria al progetto oppure

http://passioneinformatica.blogspot.com/2007/05/creare-un-progetto-webtop-in-eclipse.html

24/05/2007

Passione Informatica: (Documentum) Creare un progetto webtop in eclipse per apportare modifiche al progetto appena creato sempre possibile richiamare le propriet del progetto selezionando dal Treeview a sinistra la voce 'Tubi' e scegliendo poi dal menu la voce Project-->Properties. Se tutto stato eseguito correttamente nell'area di lavoro di eclipse in basso nella tab 'Problems' dovrebbe essere indicato: 0 errors e un numero indefinito di warning, ma questi non costituiscono un problema. A questo punto dal menu spuntate la voce Project--->Build automatically, in questo modo direte ad eclipse di ricompilare automaticamente il progetto ogni qual volta verr lanciato il save di un file. Congratulazioni! Avete configurato il vostro primo progetto wdk in eclipse!!!

Pagina 10 di 10

Pubblicato da Picard at 9.06 Etichette: Documentum

http://passioneinformatica.blogspot.com/2007/05/creare-un-progetto-webtop-in-eclipse.html

24/05/2007

Potrebbero piacerti anche