dudleyhk / chatbot_AliceSourceFiles

Automatically exported from code.google.com/p/program-ab
0 stars 0 forks source link

Run.bat classpath doesn't work on case-sensitive filesystems (like Linux) #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On Linux which has a case-sensitive file system, the classpath in run.bat 
should refer to 'out/production/Ab' rather than 'out/production/ab'.

I have attached a simple run.sh script (tested on Ubuntu 12.04, but should work 
on any *nix system with a compatible java command) containing a fix.

Original issue reported on code.google.com by jhn...@gmail.com on 25 Jan 2013 at 5:08

Attachments:

GoogleCodeExporter commented 8 years ago
I changed the way the classpath and jar files work.  Now all the needed jar 
files are packaged inside one big Ab.jar file, so all you need is

java -cp lib/Ab.jar Main bot=super action=chat trace=false

in your run.bat or run.sh

Original comment by drwall...@gmail.com on 2 Feb 2013 at 5:22