Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bat file pointing to noneixisting jar file in 5.2.0 #440

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 9 comments
Closed

bat file pointing to noneixisting jar file in 5.2.0 #440

GoogleCodeExporter opened this issue Mar 16, 2015 · 9 comments

Comments

@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Mar 16, 2015

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
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

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

  • Added labels: Component-Vizigator

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

Jar name was fixed in r2297

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

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

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
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

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
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

The variable replacement is fixed in r2298

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

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

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
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

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
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

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

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

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

  • Added labels: Release5.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant