Discussion:
Configuring webtop 6.5 in Eclipse
docu_developer
2009-12-02 22:31:53 UTC
Permalink
Hi all,I am trying to configure Webtop6.5 in Eclipse to carry out the
WDK customizations.I followed the procedure which is followed by every
one.I am also posting the procedure I followed here.
Using the below procedure I configured webtop 5.3 successfully.
But when I apply the same for webtop 6.5 I am finding lot of errors in
TLDs and Jsps(for tags without start tags) errors are in thousands.
Some of those errors are:
Duplicate local variable formthe content of element type"attribute" must
match (name,required?,rtexprvalue?)
Can any one help me in overcoming these errors......

Thanks in advance.The following will allow you to setup and develop WDK
applications (Webtop, administrator & DAM) using the Eclipse IDE. This
setup is assuming that you are developing under Windows, though it
should also be applicable to UNIX/Linux environments.A) Software
requirement------------------------------1. Java SDK (check the WDK
based application's Release Notes for the certified version)NOTE: This
MUST be a 1.4.X Version or else Eclipse will not work!2. Latest version
of the Eclipse IDE (as of this writing it is 3.0) This should be the
FULL SDK version which can be downloaded from
http://www.eclipse.org/downloads/index.php, choose the "Latest Release"
(3.0.1 at the time of this writing), and on the next page download
Eclipse SDK for your platform.3. Jakarta Tomcat (see WDK application's
Release Notes for certified version) This can be downloaded from
http://jakarta.apache.org4. The Sysdeo Tomcat/Eclipse plugin
http://www.sysdeo.com5. Documentum WDK application (Webtop etc...) and
optionally the WDK Development KitB.) Installation and
Configuration-----------------------------------------1. Install the
Java SDK. After the installer finishes set the following environment
variables:a. JAVA_HOME (such as C:\j2sdk1.4.2_05)b. Add %JAVA_HOME%\bin
to the PATH variableIt is critical that both of these are set or else
Eclipse will not be able to properly compile the JSP pages.2. Install
Apache Tomcat.3. Set the CATALINA_HOME environment variable to be the
top level tomcat directory. Example C:\Program Files\Apache Group\Tomcat
4.14. Unzip the Eclipse distribution onto your local drive. This will
create the "eclipse" folder.5. Unzip the Sysdeo Tomcat plugin into the
eclipse/plugins directory. (C:\eclipse\plugins)6. Start Eclipse and go
to Window -> Preferences.You should see at the bottom of the list, in
the left hand pane an entry for Tomcat. Select it and:? Select the
version of Tomcat you are using? Select Tomcat Home (C:\Program
Files\Apache Group\Tomcat 4.1)? Expand the Tomcat tree in the left hand
pane, select "Tomcat Manager Application" and set the username &
password you had chosen when installing Tomcat7. From the left hand pane
select "Java" and expand the tree.a. Go to Java + Compiler and choose
the "Build Path" tabb. Uncheck the "Scrub output folders..."
option.NOTE: IF YOU DON'T DO THIS THEN ALL OF THE WDK CLASS FILES WILL
BE DELETED!!8. Install WDK application (e.g. Webtop) and optionally the
WDK Development Kit to customize the application.9. Within Eclipse,
finish configuring Tomcat. Go to the menu: Windows -> Preferences, and
select Tomcat + JVM Optionsa. Open the Catalina.bat file from
%CATALINA_HOME%\bin.b. for each of the CATALINA_OPTS (minus the leading
%CATALINA_OPTS% entry) add it to the JVM parametersc. For each of the
classpath entries (minus the %CLASSPATH% entry), add it to the Classpath
entry in Eclipse. Select jar/zip for each jar file and select Directory
to add C:\Documentum\ConfigIII. Creating a New Project1. Within Eclipse,
go to File -> New -> Project menu2. Select from Java -> Tomcat project3.
Give the project a name (note this name will be used as the root context
under Tomcat. You will browse to :
http://localhost:8080/<project_name>)4. DO NOT SELECT DEFAULT
LOCATION!!Browse to the top level of the web app you wish to
configure/work withi.e. C:\Program Files\Apache Group\Tomcat
4.1\webapps\webtop5. Click next, and accept the default values (Eclipse
can update the server.xml file)6. click finish7. Eclipse will prompt you
to switch to the Java perspective, I would suggest that for the moment
you select "No".8. Under the resource perspective go to File -> New ->
Foldera. Select the project folder (do not drill down)b. give the folder
a name such as "build"c. click "Advanced"d. select "Link to File
System"e. browse to the WEB-INF\classes folder in the webapp project9.
Under Project -> Properties select "Java Build Path"a. set the default
output folder to be the folder you created in the previous step.b. click
"OK", and then go back into the same properties pagec. Select the
"Libraries" tab and add a class folder, select WEB-INF/classesd. Select
"Add external Jars", and navigate to C:\Program Files\Documentum\Shared.
Select ALL the jar files listed theree. click OKNOTE: You must do the
previous 2 steps in order for the Eclipse validation and auto complete
to work with the DFC & WDK classes.10. Any sources you work with should
put under WEB-INF/classes11. To start Tomcat you simply use the "Start
Tomcat" button on the toolbar bar at the top of the Eclipse GUI.This
setup will now allow you to run and debug you java code automatically.
mridul mudgal
2009-12-03 11:53:18 UTC
Permalink
Hope Below link could help you .
 
http://dmnotes.wordpress.com/2007/10/10/configuring-wdk-development-environment-in-eclipse/

--- On Thu, 3/12/09, docu_developer <siva.reply-/***@public.gmane.org> wrote:


From: docu_developer <siva.reply-/***@public.gmane.org>
Subject: [documentum-users] Configuring webtop 6.5 in Eclipse
To: documentum-users-***@public.gmane.org
Date: Thursday, 3 December, 2009, 4:01


 



Hi all,I am trying to configure Webtop6.5 in Eclipse to carry out the WDK customizations. I followed the procedure which is followed by every one.I am also posting the procedure I followed here.


Using the below procedure I configured webtop 5.3 successfully.


But when I apply the same for webtop 6.5 I am finding lot of errors in TLDs and Jsps(for tags without start tags) errors are in thousands.


Some of those errors are:


Duplicate local variable form
the content of element type"attribute" must match (name,required? ,rtexprvalue? )


Can any one help me in overcoming these errors......




Thanks in advance.The following will allow you to setup and develop WDK applications (Webtop, administrator & DAM) using the Eclipse IDE. This setup is assuming that you are developing under Windows, though it should also be applicable to UNIX/Linux environments. A) Software requirement- --------- --------- --------- --1. Java SDK (check the WDK based application' s Release Notes for the certified version)NOTE: This MUST be a 1.4.X Version or else Eclipse will not work!2. Latest version of the Eclipse IDE (as of this writing it is 3.0) This should be the FULL SDK version which can be downloaded from http://www.eclipse. org/downloads/ index.php, choose the "Latest Release" (3.0.1 at the time of this writing), and on the next page download Eclipse SDK for your platform.3. Jakarta Tomcat (see WDK application' s Release Notes for certified version) This can be downloaded from http://jakarta. apache.org4. The Sysdeo Tomcat/Eclipse plugin http://www.sysdeo.
com5. Documentum WDK application (Webtop etc...) and optionally the WDK Development KitB.) Installation and Configuration- --------- --------- --------- --------- ----1. Install the Java SDK. After the installer finishes set the following environment variables:a. JAVA_HOME (such as C:\j2sdk1.4. 2_05)b. Add %JAVA_HOME%\ bin to the PATH variableIt is critical that both of these are set or else Eclipse will not be able to properly compile the JSP pages.2. Install Apache Tomcat.3. Set the CATALINA_HOME environment variable to be the top level tomcat directory. Example C:\Program Files\Apache Group\Tomcat 4.14. Unzip the Eclipse distribution onto your local drive. This will create the "eclipse" folder.5. Unzip the Sysdeo Tomcat plugin into the eclipse/plugins directory. (C:\eclipse\ plugins)6. Start Eclipse and go to Window -> Preferences. You should see at the bottom of the list, in the left hand pane an entry for Tomcat. Select it and:? Select the version
of Tomcat you are using? Select Tomcat Home (C:\Program Files\Apache Group\Tomcat 4.1)? Expand the Tomcat tree in the left hand pane, select "Tomcat Manager Application" and set the username & password you had chosen when installing Tomcat7. From the left hand pane select "Java" and expand the tree.a. Go to Java + Compiler and choose the "Build Path" tabb. Uncheck the "Scrub output folders..." option.NOTE: IF YOU DON'T DO THIS THEN ALL OF THE WDK CLASS FILES WILL BE DELETED!!8. Install WDK application (e.g. Webtop) and optionally the WDK Development Kit to customize the application. 9. Within Eclipse, finish configuring Tomcat. Go to the menu: Windows -> Preferences, and select Tomcat + JVM Optionsa. Open the Catalina.bat file from %CATALINA_HOME% \bin.b. for each of the CATALINA_OPTS (minus the leading %CATALINA_OPTS% entry) add it to the JVM parametersc. For each of the classpath entries (minus the %CLASSPATH% entry), add it to the Classpath entry in
Eclipse. Select jar/zip for each jar file and select Directory to add C:\Documentum\ ConfigIII. Creating a New Project1. Within Eclipse, go to File -> New -> Project menu2. Select from Java -> Tomcat project3. Give the project a name (note this name will be used as the root context under Tomcat. You will browse to : http://localhost: 8080/<project_name>)4. DO NOT SELECT DEFAULT LOCATION!!Browse to the top level of the web app you wish to configure/work withi.e. C:\Program Files\Apache Group\Tomcat 4.1\webapps\ webtop5. Click next, and accept the default values (Eclipse can update the server.xml file)6. click finish7. Eclipse will prompt you to switch to the Java perspective, I would suggest that for the moment you select "No".8. Under the resource perspective go to File -> New -> Foldera. Select the project folder (do not drill down)b. give the folder a name such as "build"c. click "Advanced"d. select "Link to File System"e. browse to the
WEB-INF\classes folder in the webapp project9. Under Project -> Properties select "Java Build Path"a. set the default output folder to be the folder you created in the previous step.b. click "OK", and then go back into the same properties pagec. Select the "Libraries" tab and add a class folder, select WEB-INF/classesd. Select "Add external Jars", and navigate to C:\Program Files\Documentum\ Shared. Select ALL the jar files listed theree. click OKNOTE: You must do the previous 2 steps in order for the Eclipse validation and auto complete to work with the DFC & WDK classes.10. Any sources you work with should put under WEB-INF/classes11. To start Tomcat you simply use the "Start Tomcat" button on the toolbar bar at the top of the Eclipse GUI.This setup will now allow you to run and debug you java code automatically.
Siva Kurapati
2009-12-03 17:25:27 UTC
Permalink
Appreciate your help mridul....I face the problem after following the process mentioned in the link you mentioned..............

Siva



________________________________
From: mridul mudgal <mridul832002-/***@public.gmane.org>
To: documentum-users-***@public.gmane.org
Sent: Thu, December 3, 2009 6:53:18 AM
Subject: Re: [documentum-users] Configuring webtop 6.5 in Eclipse


Hope Below link could help you .

http://dmnotes. wordpress. com/2007/ 10/10/configurin g-wdk-developmen t-environment- in-eclipse/
Subject: [documentum- users] Configuring webtop 6.5 in Eclipse
Date: Thursday, 3 December, 2009, 4:01
Hi all,I am trying to configure Webtop6.5 in Eclipse to carry out the WDK customizations. I followed the procedure which is followed by every one.I am also posting the procedure I followed here.
Using the below procedure I configured webtop 5.3 successfully.
But when I apply the same for webtop 6.5 I am finding lot of errors in TLDs and Jsps(for tags without start tags) errors are in thousands.
Duplicate local variable form
the content of element type"attribute" must match (name,required? ,rtexprvalue? )
Can any one help me in overcoming these errors......
Thanks in advance.The following will allow you to setup and develop WDK applications (Webtop, administrator & DAM) using the Eclipse IDE. This setup is assuming that you are developing under Windows, though it should also be applicable to UNIX/Linux environments. A) Software requirement- --------- --------- --------- --1. Java SDK (check the WDK based application' s Release Notes for the certified version)NOTE: This MUST be a 1.4.X Version or else Eclipse will not work!2. Latest version of the Eclipse IDE (as of this writing it is 3.0) This should be the FULL SDK version which can be downloaded from http://www.eclipse. org/downloads/ index.php, choose the "Latest Release" (3.0.1 at the time of this writing), and on the next page download Eclipse SDK for your platform.3. Jakarta Tomcat (see WDK application' s Release Notes for certified version) This can be downloaded from http://jakarta. apache.org4. The Sysdeo Tomcat/Eclipse plugin http://www.sysdeo.
com5. Documentum WDK application (Webtop etc...) and optionally the WDK Development KitB.) Installation and Configuration- --------- --------- --------- --------- ----1. Install the Java SDK. After the installer finishes set the following environment variables:a. JAVA_HOME (such as C:\j2sdk1.4. 2_05)b. Add %JAVA_HOME%\ bin to the PATH variableIt is critical that both of these are set or else Eclipse will not be able to properly compile the JSP pages.2. Install Apache Tomcat.3. Set the CATALINA_HOME environment variable to be the top level tomcat directory. Example C:\Program Files\Apache Group\Tomcat 4.14. Unzip the Eclipse distribution onto your local drive. This will create the "eclipse" folder.5. Unzip the Sysdeo Tomcat plugin into the eclipse/plugins directory. (C:\eclipse\ plugins)6. Start Eclipse and go to Window -> Preferences. You should see at the bottom of the list, in the left hand pane an entry for Tomcat. Select it and:? Select the version
of Tomcat you are using? Select Tomcat Home (C:\Program Files\Apache Group\Tomcat 4.1)? Expand the Tomcat tree in the left hand pane, select "Tomcat Manager Application" and set the username & password you had chosen when installing Tomcat7. From the left hand pane select "Java" and expand the tree..a. Go to Java + Compiler and choose the "Build Path" tabb. Uncheck the "Scrub output folders..." option.NOTE: IF YOU DON'T DO THIS THEN ALL OF THE WDK CLASS FILES WILL BE DELETED!!8. Install WDK application (e.g. Webtop) and optionally the WDK Development Kit to customize the application. 9. Within Eclipse, finish configuring Tomcat. Go to the menu: Windows -> Preferences, and select Tomcat + JVM Optionsa. Open the Catalina.bat file from %CATALINA_HOME% \bin.b. for each of the CATALINA_OPTS (minus the leading %CATALINA_OPTS% entry) add it to the JVM parametersc. For each of the classpath entries (minus the %CLASSPATH% entry), add it to the Classpath entry in
Eclipse. Select jar/zip for each jar file and select Directory to add C:\Documentum\ ConfigIII. Creating a New Project1. Within Eclipse, go to File -> New -> Project menu2. Select from Java -> Tomcat project3. Give the project a name (note this name will be used as the root context under Tomcat. You will browse to :http://localhost: 8080/)4. DO NOT SELECT DEFAULT LOCATION!!Browse to the top level of the web app you wish to configure/work withi.e.. C:\Program Files\Apache Group\Tomcat 4.1\webapps\ webtop5. Click next, and accept the default values (Eclipse can update the server.xml file)6. click finish7. Eclipse will prompt you to switch to the Java perspective, I would suggest that for the moment you select "No".8. Under the resource perspective go to File -> New -> Foldera. Select the project folder (do not drill down)b. give the folder a name such as "build"c. click "Advanced"d. select "Link to File System"e. browse to the WEB-INF\classes folder in the
webapp project9. Under Project -> Properties select "Java Build Path"a. set the default output folder to be the folder you created in the previous step.b. click "OK", and then go back into the same properties pagec. Select the "Libraries" tab and add a class folder, select WEB-INF/classesd. Select "Add external Jars", and navigate to C:\Program Files\Documentum\ Shared. Select ALL the jar files listed theree. click OKNOTE: You must do the previous 2 steps in order for the Eclipse validation and auto complete to work with the DFC & WDK classes.10. Any sources you work with should put under WEB-INF/classes11. To start Tomcat you simply use the "Start Tomcat" button on the toolbar bar at the top of the Eclipse GUI.This setup will now allow you to run and debug you java code automatically.
Loading...