Bug 702709

Summary: Skynet required xerces libraries are outside project build root
Product: [Community] PressGang CCMS Reporter: Joshua Wulf <jwulf>
Component: Web-UIAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: cbredesen, lcarlon, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-18 01:19:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.