Path specification wrong in batch file

View: New views
3 Messages — Rating Filter:   Alert me  

Path specification wrong in batch file

by Jeroen van Lieshout :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
 
Yesterday I installed SableCC on my Windows machine and I noticed a small issue with the sablecc.bat batch file. The path of the jar file is wrong due a missing ..\ in the path. It's a very small issue, but therefore not less important to fix. 
 
Greetz,
 
Jeroen van Lieshout


_______________________________________________
SableCC-Discussion mailing list
SableCC-Discussion@...
http://lists.sablecc.org/listinfo/sablecc-discussion

Re: Path specification wrong in batch file

by Etienne M. Gagnon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jeroen,

I verified... The README.html files says:

Getting Started

Here are the minimal steps to get SableCC running.
1) ...
... If you have Ant installed on your system, you can install SableCC with the command:

    ant -Dinstall.dir=destination install

Otherwise, you can manually install SableCC as follow: You should first copy (and edit) the files lib/sablecc.jar and bin/sablecc (GNU/Linux, Mac, Unix) or bin\sablecc.bat (Windows) to an appropriate location, and set your PATH environment variable appropriately.
...
I haven't found out, yet, how to make sure users to read a file called README.html. I guess I should use an entirely different approach, for SableCC 4. Yet, I have no idea what works. Any suggestion is very welcome.

Etienne

Jeroen van Lieshout a écrit :
Hello,
 
Yesterday I installed SableCC on my Windows machine and I noticed a small issue with the sablecc.bat batch file. The path of the jar file is wrong due a missing ..\ in the path. It's a very small issue, but therefore not less important to fix. 
 
Greetz,
 
Jeroen van Lieshout


_______________________________________________ SableCC-Discussion mailing list SableCC-Discussion@... http://lists.sablecc.org/listinfo/sablecc-discussion

-- 
Etienne M. Gagnon, Ph.D.
SableCC:                                            http://sablecc.org


_______________________________________________
SableCC-Discussion mailing list
SableCC-Discussion@...
http://lists.sablecc.org/listinfo/sablecc-discussion

signature.asc (265 bytes) Download Attachment

Parent Message unknown Re: Path specification wrong in batch file

by Jeroen van Lieshout :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I must have overseen that slight passage (and edit). But I expected it would work out of the box when you set the path variable to the appropriate location. When you change these thinks your build becomes more usable, because users haven't to set such things. Also an idea is maybe an install script or something like that.

--- On Mon, 4/27/09, Etienne M. Gagnon <egagnon@...> wrote:

From: Etienne M. Gagnon <egagnon@...>
Subject: Re: Path specification wrong in batch file
To: "Discussion mailing list for the SableCC project" <sablecc-discussion@...>
Date: Monday, April 27, 2009, 7:33 PM

Hi Jeroen,

I verified... The README.html files says:

Getting Started

Here are the minimal steps to get SableCC running.
1) ...
... If you have Ant installed on your system, you can install SableCC with the command:

    ant -Dinstall.dir=destination install

Otherwise, you can manually install SableCC as follow: You should first copy (and edit) the files lib/sablecc.jar and bin/sablecc (GNU/Linux, Mac, Unix) or bin\sablecc.bat (Windows) to an appropriate location, and set your PATH environment variable appropriately.
...
I haven't found out, yet, how to make sure users to read a file called README.html. I guess I should use an entirely different approach, for SableCC 4. Yet, I have no idea what works. Any suggestion is very welcome.

Etienne

Jeroen van Lieshout a écrit :
Hello,
 
Yesterday I installed SableCC on my Windows machine and I noticed a small issue with the sablecc.bat batch file. The path of the jar file is wrong due a missing ..\ in the path. It's a very small issue, but therefore not less important to fix. 
 
Greetz,
 
Jeroen van Lieshout



_______________________________________________
SableCC-Discussion mailing list
SableCC-Discussion@...
http://lists.sablecc.org/listinfo/sablecc-discussion

-- 
Etienne M. Gagnon, Ph.D.
SableCC: http://sablecc.org

-----Inline Attachment Follows-----

_______________________________________________
SableCC-Discussion mailing list
SableCC-Discussion@...
http://lists.sablecc.org/listinfo/sablecc-discussion


_______________________________________________
SableCC-Discussion mailing list
SableCC-Discussion@...
http://lists.sablecc.org/listinfo/sablecc-discussion