*** Overview
On install, we have to alter our .classpath file to contain a reference to a .jar file in the current directory.
*** Details
The current .classpath file is:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path=""/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="C:/workspace/Loader/RXTXcomm.jar"/>
<classpathentry kind="output" path=""/>
</classpath>
When we install, we need to change this file to:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path=""/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="??????/RXTXcomm.jar"/>
<classpathentry kind="output" path=""/>
</classpath>
... where the text ?????? is replaced with the path to the directory containing our installed files.
How would we accomplish this? Or, alternatively, how would tell Java where to find our .jar files?