View previous topic :: View next topic |
Author |
Message |
dantrevino Tux's lil' helper


Joined: 26 Jul 2002 Posts: 92 Location: Florida, USA
|
Posted: Wed Jul 02, 2003 5:07 pm Post subject: Xindice java-config bug? |
|
|
Xindice 1.0 builds fine. I can access the web page at locahost:4080, but xindice is not listed in my
Code: | java-config --list-available-packages |
list. I should be able to add xindice when I Code: | java-config --set-system-classpath= |
I'm assuming this is because xindice is installed in /opt rather than in /usr/share. Can this be fixed? Should it be fixed? _________________ embrace the wrevolution
http://wrevolution.org/ |
|
Back to top |
|
 |
cchapman Guru


Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Wed Jul 02, 2003 6:07 pm Post subject: |
|
|
My guess would because that program is not a Java Runtime Environment or a Java SDK. java-config is only used for the different runtime/jdk environments (ibm, sun, blackdown) |
|
Back to top |
|
 |
dantrevino Tux's lil' helper


Joined: 26 Jul 2002 Posts: 92 Location: Florida, USA
|
Posted: Wed Jul 02, 2003 6:55 pm Post subject: |
|
|
cchapman wrote: | My guess would because that program is not a Java Runtime Environment or a Java SDK. java-config is only used for the different runtime/jdk environments (ibm, sun, blackdown) |
That would be a wrong guess.
java-config is also used to set classpath according to which java packages you have installed, like ant, jdbc drivers, etc.
Code: |
dan@chaos dan $ java-config --list-available-packages
[ant] Java-based build tool similar to 'make' that uses XML configuration files. (/usr/share/ant/package.env)
[jdbc-mssqlserver] JDBC driver for Microsoft SQL Server 2000. (/usr/share/jdbc-mssqlserver/package.env)
[jdbc-mysql] MySQL JDBC driver (/usr/share/jdbc-mysql/package.env)
[jdbc3-postgresql-7.3] JDBC3 Driver for PostgreSQL (/usr/share/jdbc3-postgresql-7.3/package.env)
[postgresql] "" (/usr/share/postgresql/package.env)
[xindice] Xindice XML DB (/usr/share/xindice/package.env)
|
Then I can set my system classpath using the above packages as described in my earlier post.
Notice that Xindice is included, but I had to manually create /usr/share/xindice/package.env and this is not a long term solution, IMO. I think that file should be created by the install and xindice should be installed in /usr/share (so we dont have files all over the place).
I dont mind "fixing" the ebuild myself and submitting it to bugs.gentoo.org, but my question is "should it be fixed?" Is there a reason for choosing /opt over /usr/share? If so, should java-config be hacked to look in /opt/<package> for package.env?
TIA
dan _________________ embrace the wrevolution
http://wrevolution.org/ |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|