Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • dom.jar
  • jaxp-api.jar
  • sax.jar
  • xalan.jar
  • xercesImpl.jar

If you're using Eclipse

More generally, youYou'll need to configure your IDE such that you can compile the project using these JAXP jars.

Here's the .classpath file I'm using locally. Notice that it does not declare the following .jars that are distributed in the /lib/ directory of uPortal:

  • xalan-2-6-0.jar
  • xercesImpl.jar
  • xml-apis.jar
Code Block
xml
xml
title.classpath
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="src" path="source"/>
	<classpathentry kind="src" path="tests"/>
	<classpathentry kind="lib" path="lib/activation.jar"/>
	<classpathentry kind="lib" path="lib/commons-logging.jar"/>
	<classpathentry kind="lib" path="lib/cos.jar"/>
	<classpathentry kind="lib" path="lib/hsqldb.jar"/>
	<classpathentry kind="lib" path="lib/jakarta-oro-2.0.8.jar"/>
	<classpathentry kind="lib" path="lib/junit.jar"/>
	<classpathentry kind="lib" path="lib/log4j-1.2.8.jar"/>
	<classpathentry kind="lib" path="lib/portlet-api-1.0.jar"/>
	<classpathentry kind="lib" path="lib/proxyportlet.jar"/>
	<classpathentry kind="lib" path="lib/servlet.jar"/>
	<classpathentry kind="lib" path="lib/tyrex-1.0.1.jar"/>
	<classpathentry kind="lib" path="lib/wsrp4j-consumer-0.3.jar"/>
	<classpathentry kind="lib" path="lib/wsrp4j-shared-0.3.jar"/>
	<classpathentry kind="lib" path="lib/commons-collections-3.1.jar"/>
	<classpathentry kind="lib" path="lib/commons-dbcp-1.2.1.jar"/>
	<classpathentry kind="lib" path="lib/commons-pool-1.2.jar"/>
	<classpathentry kind="lib" path="lib/spring.jar"/>
	<classpathentry kind="lib" path="lib/pluto-1.0.1-rc1.jar"/>
<!-- I've inserted a linebreak in the following entry to make it look nice in the Wiki -- you need to
  remove the linebreak between internal. and debug.ui... -->
	<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.
debug.ui.launcher.StandardVMType/jaxp13_1_4_2_04"/>
	<classpathentry kind="lib" path="lib/tidy.jar"/>
	<classpathentry kind="output" path="bin"/>
</classpath>

...