I have done this one month ago. It seems that the m2e plugin doesn't
work in this case so you have to use Maven and the CLI. Then it is easy
it's just:
$ cd dspace # enter the folder with the dspace sources
mvn package # Build DSpace
mvn -Declipse.workspace=YOUR_DSPACE_FOLDER eclipse:configure-workspace # Create
DSpace workspace
mvn eclipse:eclipse # Create Eclipse config files
Then you can do the import in Eclipse:
1. File -> Import -> General -> Existing Projects Into Workspace -> Next
2. Choose YOUR_DSPACE_FOLDER
3. Choose all the projects
4. Click finish
For debugging with tomcat you have to:
1. Open tomcat settings in (on Ubuntu) /etc/default/tomcat7
2. Uncomment line: JAVA_OPTS="${JAVA_OPTS} -Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
3. Restart tomcat like: sudo service tomcat7 restart
4. In Eclipse choose a module like dspace-api click on Debug Configurations...
-> Remote Java Applications
5. Enter your tomcat address (like localhost) and the Port 8000.
6. At tab source add the other modules (like dspace-xmlui)
7. You can start the debugging
Am 11.02.2014 18:21, schrieb Alcides Carlos de Moraes Neto:
Hello everyone,
I've been working with dspace for a while now, but I have never been
able to create an error-free workspace in Eclipse. Is there
documentation or a guide for this?
I downloaded the source and imported it with the Eclipse m2e plugin.
All sub-projects are identified correctly, but I get loads of XSL, JSP
and Maven problems.
Ats,
Alcides Carlos de Moraes Neto
"Sometimes I think we're alone. Sometimes I think we're not. In either
case, the thought is staggering."
- R. Buckminster Fuller
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette