Bug 702709 - Skynet required xerces libraries are outside project build root
Summary: Skynet required xerces libraries are outside project build root
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Matthew Casperson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-06 16:40 UTC by Joshua Wulf
Modified: 2014-10-19 22:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-18 01:19:06 UTC


Attachments (Terms of Use)

Description Joshua Wulf 2011-05-06 16:40:36 UTC
At the moment Skynet requires xerces-2_9_0, and is linked to /home/matthew/redhat/apps/

Can xerces be moved into the project in the workspace?

Comment 1 Joshua Wulf 2011-05-06 17:18:45 UTC
I fixed it by modifying .classpath like this:

  <classpathentry kind="lib" path="/home/jwulf/jbdevstudio4/jboss-eap/jboss-as/lib/endorsed/resolver.jar"/>
  <classpathentry kind="lib" path="/home/jwulf/jbdevstudio4/jboss-eap/jboss-as/lib/endorsed/serializer.jar"/>
  <classpathentry kind="lib" path="/home/jwulf/jbdevstudio4/jboss-eap/jboss-as/lib/endorsed/xercesImpl.jar"/>
<!--  <classpathentry kind="lib" path="/home/matthew/redhat/apps/xerces-2_9_0/xercesSamples.jar"/>
  <classpathentry kind="lib" path="/home/matthew/redhat/apps/xerces-2_9_0/xml-apis.jar"/> -->

EAP 5.1 has the first three xerces jars in the lib/endorsed directory, so I targeted that. I figured the last two might not be necessary.

Comment 2 Joshua Wulf 2011-05-09 00:20:09 UTC
.classpath is in the root directory of the project - you'll have to open it outside JBDS. Alternatively, Properties, Java Build Path, Libraries is a GUI interface that edits the contents.

Comment 3 Matthew Casperson 2011-05-12 03:34:01 UTC
Build path has been changed to reflect the fact that Xerces is included in JBoss AS.

Comment 4 Joshua Wulf 2011-05-12 09:30:26 UTC
Note to self: 

Need to check out source from: http://code.google.com/p/my-custom-scripts/source/browse/#svn%2Ftrunk%2FTopicIndex

to test this.

Comment 5 Joshua Wulf 2011-05-18 01:19:06 UTC
The files are still hardcoded to /home/matthew/... but at least now it's clearer where to point them to.


Note You need to log in before you can comment on or make changes to this bug.