ontopia / ontopia

The open source tools for building, maintaining and deploying Topic Maps-based applications.
https://ontopia.net
Apache License 2.0
54 stars 12 forks source link

bat file pointing to noneixisting jar file in 5.2.0 #440

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.unzip
2.run vizdesktop.bat from cmd
3.Error:  Unable to access jarfile ../lib/ontopia-viz-${project.version}.jar

What is the expected output? What do you see instead?
This is the line in the vizdesktop.bat file:

@echo off
java -jar ../lib/ontopia-viz-${project.version}.jar %1 %2 %3

there is no file in lib named ontopia-viz.

How does the .bat file need to be modified to make things run properly?  5.1 3 
works fine.  This is installed on a Windows 7 machine but have also tried on XP 
and get same error.

Thanks,
Jeff

Original issue reported on code.google.com by jeffreyd...@gmail.com on 13 Mar 2012 at 12:25

GoogleCodeExporter commented 9 years ago
This is the windows side of issue 438. I'll fix the jar name, but vizigator 
won't work until issue 438 is fixed.

Original comment by qsieb...@gmail.com on 13 Mar 2012 at 12:43

GoogleCodeExporter commented 9 years ago
Jar name was fixed in r2297

Original comment by qsieb...@gmail.com on 13 Mar 2012 at 12:45

GoogleCodeExporter commented 9 years ago
Tried to change name in bat file to vizigator earlier and that doesn't get it 
either.

J

Original comment by jeffreyd...@gmail.com on 13 Mar 2012 at 1:00

GoogleCodeExporter commented 9 years ago
There is more going wrong with the bat file. The ${project.version} variable is 
not replaced correctly during distribution assembly. I'll have a look at it.

Original comment by qsieb...@gmail.com on 13 Mar 2012 at 1:10

GoogleCodeExporter commented 9 years ago
The variable replacement is fixed in r2298

Original comment by qsieb...@gmail.com on 13 Mar 2012 at 1:16

GoogleCodeExporter commented 9 years ago
You can manually change to contents of the bat file to:

@echo off
java -jar ../lib/ontopia-vizigator-5.2.0.jar %1 %2 %3

Original comment by qsieb...@gmail.com on 13 Mar 2012 at 1:18

GoogleCodeExporter commented 9 years ago
Fixed in r2299. See issue 438 for a manual fix for a downloaded distribution.

Original comment by qsieb...@gmail.com on 13 Mar 2012 at 1:26

GoogleCodeExporter commented 9 years ago

Original comment by qsieb...@gmail.com on 13 Mar 2012 at 1:27

GoogleCodeExporter commented 9 years ago

Original comment by qsieb...@gmail.com on 29 Mar 2012 at 3:14