cancel
Showing results for 
Search instead for 
Did you mean: 

How can i set up a project in eclipse and what is needed?

unknown-user
Champ on-the-rise
Champ on-the-rise
I wanted to add a new field-control into the owd and this should be developed in a team.

- I use "Eclipse Java EE IDE for Web Developers" latest version.
- I have alfresco minimal setup and OWD v3.1.0.0 Sprint 6 on a seperate Tomcat v5.5.
- downloaded the "src" and the "javadoc" packages.
- MyEclipse is not an option since its commercial

So the question is:
"Where is the manual on howto set up an eclipse-project for openworkdesk?"

I did the following steps:
1. "File"->"New"->"Dynamic Web Project"
2. Configured through the dialogs and used the default Tomcat v5.5 which was installed as well as the Oracle JRE 1.5
3. Importet the contents of the owd-folder from the "bin" Package of OWD 3.1.0.0 Sprint 6 into the "WebContent"-Directory of the eclipse project
4. Importet the "src" Package of OWD 3.1.0.0 Sprint 6 into the "src"-Directory in the eclipse project.

This only results in a lot of errors like unresolved types and so on.
The "libraries" are configured to include the WEB-INF/lib-Folders in eclipse.

Screenshots below:
[img]http://img2.imagebanana.com/img/vec9o7zw/thumb/eclipse_not_resolved1.png[/img]

[img]http://img2.imagebanana.com/img/k3osvajg/thumb/eclipse_not_resolved2.png[/img]

[img]http://img2.imagebanana.com/img/g3bcg16j/thumb/eclipse_libraries.png[/img]
3 REPLIES 3

unknown-user
Champ on-the-rise
Champ on-the-rise
I had a quick look at your screen shots and noticed that you have included several JAR files that should not be there.  Namely these are:

oecmcustomlocalize_3100.jar
oecmlocalize_3100.jar

These are part of the build product.
I could not read all the way down you list, but please also make sure that you are not referencing any of the following files:

ow_adpcmis_3100.jar
ow_core_3100.jar
ow_dev_3100.jar
ow_expression_3100.jar
ow_plugdms_3100.jar
ow_plugrecord_3100.jar
ow_plugsearch_3100.jar
ow_plugstd_3100.jar
ow_plugstddocimport_3100.jar

These are also part of the build product.

vahe
Champ in-the-making
Champ in-the-making
:ugeek: Please also take a look at http://openworkdesk.org/phpbbforum/viewtopic.php?f=3&t=12#p12

Quick review:
1. Download an install MyEclipse 8.x (free trial)
2. Add Subversion integration into MyEclipse - we are using Subclipse 1.6.x (Tigris.org)
3. download the Team Project Set file: "owd_trunk_sourceforge.psf" from (owd releases source and javadoc / misc) - https://sourceforge.net/projects/owd/files/owd%20releases%20source%20and%20javadoc/misc/
4. Open MyEclipse -> File -> Import -> Team -> Team Project Set , select the downloaded file "owd_trunk_sourceforge.psf" - MyEclipse will checkout the project from the Sourceforge Subversion and will configure the projects (takes some time  Smiley Surprisedops: )
5. The web project (openworkdesk) contains *.jsp files that are used for the Pro & Enterprise Edition. This causes JSP compilation errors, because the classes used in this JSP files, cannot be found. Workaround: you can deactivate the MyEclipse JSP validator or delete this *.jsp files.
6. Configure to deploy the web application to your Tomcat server -> deploy the web application -> start the server

Remarks: Check the ports of the Alfresco Tomcat and Tomcat for the openworkdesk web application - should be different.

Change the configuration from the web.xml

We will try to post the configuration for user that are using a plain Eclipse IDE, not MyEclipse.  8-)

deko
Star Contributor
Star Contributor
The description from above is no longer valid and has changed since original post date in 2010. Please use the following description:

http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/alfresco-workdesk-c...