Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added hint to help with the Ant Build configuration

...

  • First, set up Ant by clicking the "Ant build" icon on the far right margin of the window.
  • If you used Ant to build DSpace above, then your previous configuration will remain. Otherwise, add a new one by clicking the "+" icon in the upper left.
  • Here, you need to select the build.xml file from <dspace-src>/dspace/target/dspace-<version>.dir.
  • If you can't select or find the build.xml file, you may need to tell IDEA to stop ignoring/excluding the _target_ folder. Go to File > Project Structure, select Modules, DSpace, and then click the red X next to "target" under the heading "Excluded Folders"
  • Now, in either case, right click on the top-level of the tree and select "properties" and click "add". In the boxes provided, enter "config" and the path to your live dspace.cfg. Click "OK".

...

If you see an error that indicates that the dspace.dir folder cannot be found in your Tomcat/bin folder, (such as java.io.FileNotFoundException: /opt/local/share/java/tomcat6/bin/dspace.dir/config/dspace.cfg (No such file or directory)) when you attempt to call the Tomcat runconfig, you can try adding a symlink in your Tomcat/bin folder, like so:

Code Block
 
cd /opt/local/share/java/tomcat6/bin/
sudo ln -s /dspace/ '${dspace.dir}'

...

It's not pretty, but it'll get the job done.

...