Building from sources
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2013 10:21 AM
Hello, I've download alfresco-workdesk-community-4.1.1.0-2013-07-11-dist.zip and there are jars with sources.
How can I modify sources and deploy a workdesk? Is there another way than to import each jar as project and create some customize building script?
Maybe there is another package for developers?
Thanks in advance,
Tom
How can I modify sources and deploy a workdesk? Is there another way than to import each jar as project and create some customize building script?
Maybe there is another package for developers?
Thanks in advance,
Tom
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2013 11:34 AM
Please read the following posts, as the are dealing with your questions:
http://forums.alfresco.com/forum/help/programming-help/how-can-i-include-owd-source-eclipse-05102012...
http://forums.alfresco.com/forum/help/programming-help/how-can-i-include-owd-source-eclipse-05102012...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2013 04:05 AM
Thx, I didn't find this topic. I'll try it and ask if sth will not working properly
.
Any idea which jars I have to link to projects ?
For example I have a problem with org.springframework.jdbc(I try versions: 3.1, 3.0.0, 3.0.5)
I get in jdbc query call:
<blockquote>The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced from required .class files<blockquote>

Any idea which jars I have to link to projects ?
For example I have a problem with org.springframework.jdbc(I try versions: 3.1, 3.0.0, 3.0.5)
I get in jdbc query call:
<blockquote>The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced from required .class files<blockquote>
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2013 05:13 AM
Each project that requires depending JARs has a ow_dependeny.properties file in the source file included, listing the required JARs. Your issue seems more to be related to the JRE you are using in your Eclipse IDE. Please use JRE 1.6 (runtime 1.7 not supported yet) and set compliance level for your Workdesk Workspace to 1.6 also, then the springframework resolving errors should be gone.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2013 05:35 AM
Ok, but can I get an information how this project have to be set up in eclipse? I read 2 topics: in first they say to make separate projects for each ow_*_source jar in another one someone put all src in Java Resources of Dynamic Web Project.
1st from you: http://forums.alfresco.com/forum/help/programming-help/how-can-i-include-owd-source-eclipse-05102012...
2nd: http://forums.alfresco.com/forum/help/programming-help/how-can-i-set-project-eclipse-and-what-needed...
What I need is to have access to workdesk code and modify it to my needs and then put all needed files in my tomcat/webapps directory. Basically bin/workdesk is core web-context and I can copy it to tomcat using ant, but what to do with code? When I for example change code in ow_core I need only to make jar and put it in WEB-INF/libs, thats it?
1st from you: http://forums.alfresco.com/forum/help/programming-help/how-can-i-include-owd-source-eclipse-05102012...
2nd: http://forums.alfresco.com/forum/help/programming-help/how-can-i-set-project-eclipse-and-what-needed...
What I need is to have access to workdesk code and modify it to my needs and then put all needed files in my tomcat/webapps directory. Basically bin/workdesk is core web-context and I can copy it to tomcat using ant, but what to do with code? When I for example change code in ow_core I need only to make jar and put it in WEB-INF/libs, thats it?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2013 06:08 AM
The 2nd post is from 2010 and no longer valid. This one was describing the setup with MyEclipse, which is no longer needed today. My post (the 1st one) is the way you should go: You have one "workdesk" web project and all other jars are seperate Java projects. If you setup Eclipse right, the changes in the project are directly deployed to WEB-INF/lib. this no manual process then.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2013 06:40 AM
Thank you for help, now I know how to do it right.
