[ 
http://issues.ops4j.org/jira/browse/PAXRUNNER-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11707#action_11707
 ] 

David Leangen commented on PAXRUNNER-164:
-----------------------------------------

Ok, so getting back to my original question, about removing the version 
number...

My hope is that the pax-runner script can be used like other commands on my 
linux box. For example, if I want to use grep or something else, then usually 
I'll just write:

# grep blah *

and not

# grep-1.3-SNAPSHOT blah *

That way, the version of the runner does not need to be an additional concern 
that pollutes the run script.

As was mentioned above by Stuart and Alin, the version number is already 
included in the directory, so since it's redundant here it's not something 
that's absolutely necessary. I agree that there can be advantages to having it, 
so it's really a matter of preference in this case.

I don't have as much energy as you for arguing these types of things, so if the 
answer is "no", just say so and I'll live with that.

Thanks!

> Removing version number from jar file when distributing
> -------------------------------------------------------
>
>                 Key: PAXRUNNER-164
>                 URL: http://issues.ops4j.org/jira/browse/PAXRUNNER-164
>             Project: Pax Runner
>          Issue Type: Improvement
>            Reporter: David Leangen
>            Assignee: Alin Dreghiciu
>            Priority: Minor
>
> Just wondering something...
> Would it be possible to remove the version number from the jar file when 
> creating a distribution of pax-runner. The reason is this:
> When I install pax-runner to my file system, the directory structure looks 
> like this:
>   $PAX_HOME
>     pax-runner-$VERSION
>       bin
>         pax-run
>         pax-run.bat
>         pax-runner-$VERSION.jar
> What I like to do is create a symbolic link in $PAX_HOME called "pax-runner" 
> that points to the current pax-runner directory. This way, to update my 
> pax-runner, all I need to do is copy the new files and update by symbolic 
> link.
> Because, however, the jar holds the version number, this means that in 
> addition to having to update just my symbolic link, I also have to update any 
> scripts I have that make use of pax-runner, which is not a nice thing to have 
> to do.
> So, it would be really nice to change pax-runner-$VERSION.jar to just 
> pax-runner.jar.
> Thank you!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to