Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xindice java-config bug?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dantrevino
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2002
Posts: 92
Location: Florida, USA

PostPosted: Wed Jul 02, 2003 5:07 pm    Post subject: Xindice java-config bug? Reply with quote

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
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Wed Jul 02, 2003 6:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
dantrevino
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2002
Posts: 92
Location: Florida, USA

PostPosted: Wed Jul 02, 2003 6:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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