View previous topic :: View next topic |
Author |
Message |
kogmedia AuctionSieve regular
Joined: 14 Apr 2007 Posts: 23
|
Posted: Sun Apr 15, 2007 3:13 am Post subject: Auctionsieve - Ubuntu |
|
|
Hello,
I have installed the latest version of auctionsieve on ubuntu but I can find the AuctionSieve.lax it not in the install dir?
I need to change the lax.command.line.args=$CMD_LINE_ARGUMENTS$
I can't get the items to view in the browser .....
I had the previous version working fine once I edited the file. I have searched for the file but no results....
Thanks,
Keith |
|
Back to top |
|
 |
nev Site Admin

Joined: 15 Sep 2004 Posts: 1159 Location: Sydney, Australia
|
Posted: Fri Apr 20, 2007 5:50 am Post subject: |
|
|
Hi Keith,
Hmmmm, yes, interesting problem.
I'm not using the LaunchAnywhere launcher anymore, just a generic jar file, so that lax file doesn't exist anymore.
How are you running AuctionSieve?
You need to specify the -DBROWSER parameter somehow. If you're running it from a command line, you just add it in.
If you're double-clicking the jar, there may be some way of specifying the parameters to pass to it - otherwise we'll need to provide some sort of .sh shell script to run it (it would only be one line of script).
Something like
java -cp auctionsieve.jar -DBROWSER=<whatever is necessary>
Let me know how you go, then I can update the faq. |
|
Back to top |
|
 |
kogmedia AuctionSieve regular
Joined: 14 Apr 2007 Posts: 23
|
Posted: Sun Apr 22, 2007 5:51 am Post subject: Ubuntu - Still not working |
|
|
Code: |
#!/bin/sh
cd bin/auctionsieve/
java -jar auctionsieve.jar -DBROWSER=/usr/lib/firefox/firefox %s |
I have tried it but its still not working,
The -cp isn't working it needs the -jar otherwise won't launch..
I have also tryied
lax.command.line.args=$CMD_LINE_ARGUMENTS$ -DBROWSER=/usr/lib/firefox/firefox %s
lax.command.line.args=$CMD_LINE_ARGUMENTS$ -DBROWSER=/usr/lib/firefox/firefox %s
lax.nl.java.option.additional=-DBROWSER=/usr/lib/firefox/firefox %s |
|
Back to top |
|
 |
nev Site Admin

Joined: 15 Sep 2004 Posts: 1159 Location: Sydney, Australia
|
Posted: Sun Apr 22, 2007 7:16 am Post subject: |
|
|
You probably need to put quotes around the string. Ie make it
java -DBROWSER="/usr/lib/firefox/firefox %s" -jar auctionsieve.jar |
|
Back to top |
|
 |
kogmedia AuctionSieve regular
Joined: 14 Apr 2007 Posts: 23
|
Posted: Sun Apr 22, 2007 11:31 pm Post subject: Ubuntu - Working! |
|
|
Thanks Nev,
Works Great!
Code: | #!/bin/sh
#Location To AuctionSieve JAR
cd bin/auctionsieve/
#AuctionSieve Launch Parameters
java -DBROWSER="firefox %s" -jar auctionsieve.jar |
The script will need permission to executing as a program.
Then create an application link on your desktop to your launch script. |
|
Back to top |
|
 |
nev Site Admin

Joined: 15 Sep 2004 Posts: 1159 Location: Sydney, Australia
|
Posted: Mon Apr 23, 2007 2:05 pm Post subject: |
|
|
Cool!
Will add the info to the faq.
Thanks for your help! |
|
Back to top |
|
 |
|