cancel
Showing results for 
Search instead for 
Did you mean: 

How can I include the OWD source in Eclipse

hellerhans
Champ in-the-making
Champ in-the-making
Hi,

I download OWD 3.2 Community. Very nice program. I run again Alfresco. Now I wanna write my own code. Some kinda software for brewery  Smiley Wink

What to do to set up OWD project in Eclipse?

Thanks for help in advance.
3 REPLIES 3

chfi
Champ in-the-making
Champ in-the-making
Hi Hellerhans,

software for a brewery…that sounds quite good 🙂

Here is the basic info from our official guides…if you need more information please let me know:
First of all you need to install a development IDE (e.g. Eclipse IDE) for J2EE development and set the Java Compiler level to JAVA version 1.5. Create the following JAVA projects in your development environment:
ow_core
ow_adpcmis
….
After creating the JAVA projects you have to create a J2EE web project for the OWD frontend:
openworkdesk
==> Import the folder structure (applets, design, js,….) into the just created web project, as this folder structure has to be deployed to a web server.


I hope this helps…and don't drink and drive 🙂

hellerhans
Champ in-the-making
Champ in-the-making
Hi,

I figured this out in the meantime myselves.

So your post is nice confirmation. Thank you. I owe you one 🙂

vahe
Champ in-the-making
Champ in-the-making
OWD Set Up Development Environment wit Eclipse - by vahe
Free OpenWorkdesk trial or OpenWorkdesk Community Edition

Eclipse IDE:
- Eclipse Java EE IDE for Web Developers, Version: Indigo Service Release 2
Eclipse Installed JREs:
- JRE home:  C:/Program Files/Javajdk1.5.0_22
- JRE name: jdk1.5.0_22
Server Runtime Environments:
- Apache Tomcat v6.0 (can be also 7.x)
- Installation Directory: C:/apache-tomcat-6.0.35
- JRE: Workbench default JRE

Start Eclipse:
- empty Workspace (name e.g. owd-develop)
Create project
- Eclipse -> New Project -> Web / Dynamic Web Project:
- Eclipse project name: OWD
- Dynamic web module version: 2.5 (because of JDK 1.5)
- Click Finish

Copy Free OpenWorkdesk trial / Community Editon into your Eclipse project:
- Unpack: Free OpenWorkdesk trial package
- Copy the content of: <dist-package>/bin/ow/ into your Eclipse project:
<dist-package>/bin/ow/*.* –> <eclipse-workspace>/owd-develop/OWD/WebContent/
(override the existing web.xml)

Using of cmis OWD adaptor (Alfresco Cloud):
- in order to use cmis, copy the cmis & alfresco bpm libs from:
<dist-package>/libs/cmis/*.* & <dist-package>/libs/alfrescobpm/*.*  to <eclipse-workspace>/owd-develop/OWD/WebContent/WEB-INF/lib/*.*
- go to /OWD/WebContent/WEB-INF/web.xml and comment in:
<!– <param-value>deploy#WEB-INF/conf/dummy</param-value> –>
then remove the comment in from line.
<param-value>deploy#WEB-INF/conf/cmis</param-value>

For all other adapters (own Alfresco installation, IBM FileNet, IBM CM…) see the WeWebU OWD Configuration Guide which libs and settings are required.

Refresh your project folder in Eclipse.

Add Tomcat to Eclipse:
- Eclipse Servers View -> New Server Wizard -> Apache Tomcat v6.0 Server -> select Tomcat installation directory e.g. C:/apache-tomcat-6.0.35 / default JRE -> Next -> Select OWD project - Add> -> Finish
- doubleclick on: Tomcat v6.0 Server at localhost – to set the tomcat’s parameter
Server Locations:
-> Use Tomcat installation (takes control of Tomcat installation): Checked
-> Deploy path: webapps
…save the Tomcat settings.

Start the OWD App:
Start your browser and go to: http://localhost:8080/OWD/  (http://localhost:8080/<Eclipse project name> /)

Enjoy the OWD!  :ugeek:

Best regards
vahe