You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Jason Dillon (JIRA)" <ji...@apache.org> on 2006/05/02 02:48:37 UTC

[jira] Created: (AMQ-701) Unix scripts in distro should have mode 755

Unix scripts in distro should have mode 755
-------------------------------------------

         Key: AMQ-701
         URL: https://issues.apache.org/activemq/browse/AMQ-701
     Project: ActiveMQ
        Type: Improvement

  Components: Broker  
    Versions: 4.0 RC3, 4.0 RC2, 4.0 M4    
    Reporter: Jason Dillon


All of the unix scripts in the distro should have their mode set to 755, as in:

cd bin/
chmod 755 activemq browse bstat list query shutdown

Users should be able to unzip/untgz the distro and then run bin/activemq with out any extra steps.

<zipfileset> supports a filemode attribute, and <tarfileset> suports a mode attribute that allow you to set the right mode on the archived files.

See the "release" target here for a real example:

http://svn.sourceforge.net/viewcvs.cgi/p4spam/p4spam/trunk/build.xml?view=markup&rev=57


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


[jira] Resolved: (AMQ-701) Unix scripts in distro should have mode 755

Posted by "Adrian Co (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-701?page=all ]
     
Adrian Co resolved AMQ-701:
---------------------------

    Fix Version: 4.1
     Resolution: Fixed

done.

> Unix scripts in distro should have mode 755
> -------------------------------------------
>
>          Key: AMQ-701
>          URL: https://issues.apache.org/activemq/browse/AMQ-701
>      Project: ActiveMQ
>         Type: Improvement

>   Components: Broker
>     Versions: 4.0 RC3, 4.0 RC2, 4.0 M4
>     Reporter: Jason Dillon
>     Assignee: Adrian Co
>      Fix For: 4.1

>
>
> All of the unix scripts in the distro should have their mode set to 755, as in:
> cd bin/
> chmod 755 activemq browse bstat list query shutdown
> Users should be able to unzip/untgz the distro and then run bin/activemq with out any extra steps.
> <zipfileset> supports a filemode attribute, and <tarfileset> suports a mode attribute that allow you to set the right mode on the archived files.
> See the "release" target here for a real example:
> http://svn.sourceforge.net/viewcvs.cgi/p4spam/p4spam/trunk/build.xml?view=markup&rev=57

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


[jira] Assigned: (AMQ-701) Unix scripts in distro should have mode 755

Posted by "Adrian Co (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-701?page=all ]

Adrian Co reassigned AMQ-701:
-----------------------------

    Assign To: Adrian Co

> Unix scripts in distro should have mode 755
> -------------------------------------------
>
>          Key: AMQ-701
>          URL: https://issues.apache.org/activemq/browse/AMQ-701
>      Project: ActiveMQ
>         Type: Improvement

>   Components: Broker
>     Versions: 4.0 RC3, 4.0 RC2, 4.0 M4
>     Reporter: Jason Dillon
>     Assignee: Adrian Co

>
>
> All of the unix scripts in the distro should have their mode set to 755, as in:
> cd bin/
> chmod 755 activemq browse bstat list query shutdown
> Users should be able to unzip/untgz the distro and then run bin/activemq with out any extra steps.
> <zipfileset> supports a filemode attribute, and <tarfileset> suports a mode attribute that allow you to set the right mode on the archived files.
> See the "release" target here for a real example:
> http://svn.sourceforge.net/viewcvs.cgi/p4spam/p4spam/trunk/build.xml?view=markup&rev=57

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


[jira] Commented: (AMQ-701) Unix scripts in distro should have mode 755

Posted by "Adrian Co (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-701?page=comments#action_36178 ] 

Adrian Co commented on AMQ-701:
-------------------------------

use svn props svn:executable to enable execution of scripts. although bit flag is 775, instead of 755.

> Unix scripts in distro should have mode 755
> -------------------------------------------
>
>          Key: AMQ-701
>          URL: https://issues.apache.org/activemq/browse/AMQ-701
>      Project: ActiveMQ
>         Type: Improvement

>   Components: Broker
>     Versions: 4.0 RC3, 4.0 RC2, 4.0 M4
>     Reporter: Jason Dillon
>     Assignee: Adrian Co
>      Fix For: 4.1

>
>
> All of the unix scripts in the distro should have their mode set to 755, as in:
> cd bin/
> chmod 755 activemq browse bstat list query shutdown
> Users should be able to unzip/untgz the distro and then run bin/activemq with out any extra steps.
> <zipfileset> supports a filemode attribute, and <tarfileset> suports a mode attribute that allow you to set the right mode on the archived files.
> See the "release" target here for a real example:
> http://svn.sourceforge.net/viewcvs.cgi/p4spam/p4spam/trunk/build.xml?view=markup&rev=57

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


[jira] Reopened: (AMQ-701) Unix scripts in distro should have mode 755

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-701?page=all ]
     
Jason Dillon reopened AMQ-701:
------------------------------


You should also set:

{noformat}
<lineEnding>unix</lineEnding>
{noformat}

... for the unix scripts, or unexpected failures will result if they were included as CRLF.

:-)

> Unix scripts in distro should have mode 755
> -------------------------------------------
>
>          Key: AMQ-701
>          URL: https://issues.apache.org/activemq/browse/AMQ-701
>      Project: ActiveMQ
>         Type: Improvement

>   Components: Broker
>     Versions: 4.0 RC3, 4.0 RC2, 4.0 M4
>     Reporter: Jason Dillon
>     Assignee: Hiram Chirino
>      Fix For: 4.1

>
>
> All of the unix scripts in the distro should have their mode set to 755, as in:
> cd bin/
> chmod 755 activemq browse bstat list query shutdown
> Users should be able to unzip/untgz the distro and then run bin/activemq with out any extra steps.
> <zipfileset> supports a filemode attribute, and <tarfileset> suports a mode attribute that allow you to set the right mode on the archived files.
> See the "release" target here for a real example:
> http://svn.sourceforge.net/viewcvs.cgi/p4spam/p4spam/trunk/build.xml?view=markup&rev=57

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


[jira] Reopened: (AMQ-701) Unix scripts in distro should have mode 755

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-701?page=all ]
     
Hiram Chirino reopened AMQ-701:
-------------------------------

     Assign To: Hiram Chirino  (was: Adrian Co)

This will be fixed in the 4.1 releases.  The maven assembly descriptor needs to be configured with this information.

> Unix scripts in distro should have mode 755
> -------------------------------------------
>
>          Key: AMQ-701
>          URL: https://issues.apache.org/activemq/browse/AMQ-701
>      Project: ActiveMQ
>         Type: Improvement

>   Components: Broker
>     Versions: 4.0 RC3, 4.0 RC2, 4.0 M4
>     Reporter: Jason Dillon
>     Assignee: Hiram Chirino
>      Fix For: 4.1

>
>
> All of the unix scripts in the distro should have their mode set to 755, as in:
> cd bin/
> chmod 755 activemq browse bstat list query shutdown
> Users should be able to unzip/untgz the distro and then run bin/activemq with out any extra steps.
> <zipfileset> supports a filemode attribute, and <tarfileset> suports a mode attribute that allow you to set the right mode on the archived files.
> See the "release" target here for a real example:
> http://svn.sourceforge.net/viewcvs.cgi/p4spam/p4spam/trunk/build.xml?view=markup&rev=57

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


[jira] Commented: (AMQ-701) Unix scripts in distro should have mode 755

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-701?page=comments#action_36574 ] 

Jason Dillon commented on AMQ-701:
----------------------------------

Yikes... its a bad idea IMO to have the zip and .tgz contain different files.

Users on windows might pick the .zip and then want to run with cygwin.

I highly recommend that the archives contain the *same* files.

> Unix scripts in distro should have mode 755
> -------------------------------------------
>
>          Key: AMQ-701
>          URL: https://issues.apache.org/activemq/browse/AMQ-701
>      Project: ActiveMQ
>         Type: Improvement

>   Components: Broker
>     Versions: 4.0 RC3, 4.0 RC2, 4.0 M4
>     Reporter: Jason Dillon
>     Assignee: Hiram Chirino
>      Fix For: 4.1

>
>
> All of the unix scripts in the distro should have their mode set to 755, as in:
> cd bin/
> chmod 755 activemq browse bstat list query shutdown
> Users should be able to unzip/untgz the distro and then run bin/activemq with out any extra steps.
> <zipfileset> supports a filemode attribute, and <tarfileset> suports a mode attribute that allow you to set the right mode on the archived files.
> See the "release" target here for a real example:
> http://svn.sourceforge.net/viewcvs.cgi/p4spam/p4spam/trunk/build.xml?view=markup&rev=57

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


[jira] Resolved: (AMQ-701) Unix scripts in distro should have mode 755

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-701?page=all ]
     
Hiram Chirino resolved AMQ-701:
-------------------------------

    Resolution: Fixed

Resolved in trunk rev 421396

> Unix scripts in distro should have mode 755
> -------------------------------------------
>
>          Key: AMQ-701
>          URL: https://issues.apache.org/activemq/browse/AMQ-701
>      Project: ActiveMQ
>         Type: Improvement

>   Components: Broker
>     Versions: 4.0 RC3, 4.0 RC2, 4.0 M4
>     Reporter: Jason Dillon
>     Assignee: Hiram Chirino
>      Fix For: 4.1

>
>
> All of the unix scripts in the distro should have their mode set to 755, as in:
> cd bin/
> chmod 755 activemq browse bstat list query shutdown
> Users should be able to unzip/untgz the distro and then run bin/activemq with out any extra steps.
> <zipfileset> supports a filemode attribute, and <tarfileset> suports a mode attribute that allow you to set the right mode on the archived files.
> See the "release" target here for a real example:
> http://svn.sourceforge.net/viewcvs.cgi/p4spam/p4spam/trunk/build.xml?view=markup&rev=57

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


[jira] Commented: (AMQ-701) Unix scripts in distro should have mode 755

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-701?page=comments#action_36575 ] 

Hiram Chirino commented on AMQ-701:
-----------------------------------

I think going with patform specific distributions is the way to go.  It solves problems like Windows users not being able to read the README and LICENSE files due to EOL issues.  Same thing applies to the eamples and documentation.

I would be open to creating *-windows.zip, *-windows.tar.gz, *-unix.zip, and *-unix.tar.gz if you really think that folks on both patforms want to have the zip and tar.gz options.  But I don't think that is the case either.

Also when a user uses cygwin, he's going to want to use the unix distribution since the EOL characters are unix style and he can use .sh files to launch activemq.  So I'm not sure there is a down side this yet.

> Unix scripts in distro should have mode 755
> -------------------------------------------
>
>          Key: AMQ-701
>          URL: https://issues.apache.org/activemq/browse/AMQ-701
>      Project: ActiveMQ
>         Type: Improvement

>   Components: Broker
>     Versions: 4.0 RC3, 4.0 RC2, 4.0 M4
>     Reporter: Jason Dillon
>     Assignee: Hiram Chirino
>      Fix For: 4.1

>
>
> All of the unix scripts in the distro should have their mode set to 755, as in:
> cd bin/
> chmod 755 activemq browse bstat list query shutdown
> Users should be able to unzip/untgz the distro and then run bin/activemq with out any extra steps.
> <zipfileset> supports a filemode attribute, and <tarfileset> suports a mode attribute that allow you to set the right mode on the archived files.
> See the "release" target here for a real example:
> http://svn.sourceforge.net/viewcvs.cgi/p4spam/p4spam/trunk/build.xml?view=markup&rev=57

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


[jira] Resolved: (AMQ-701) Unix scripts in distro should have mode 755

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-701?page=all ]
     
Hiram Chirino resolved AMQ-701:
-------------------------------

    Resolution: Fixed

Fixed.. commited in trunk rev 421654.

The zip is now tunned for windows and the tar.* packages are tunned for unix.
The zip file bin directory only contains .bat files and all text files use dos line endings.
the tar file bin directory only contains the shell files and all text files use the unix line endings.

> Unix scripts in distro should have mode 755
> -------------------------------------------
>
>          Key: AMQ-701
>          URL: https://issues.apache.org/activemq/browse/AMQ-701
>      Project: ActiveMQ
>         Type: Improvement

>   Components: Broker
>     Versions: 4.0 RC3, 4.0 RC2, 4.0 M4
>     Reporter: Jason Dillon
>     Assignee: Hiram Chirino
>      Fix For: 4.1

>
>
> All of the unix scripts in the distro should have their mode set to 755, as in:
> cd bin/
> chmod 755 activemq browse bstat list query shutdown
> Users should be able to unzip/untgz the distro and then run bin/activemq with out any extra steps.
> <zipfileset> supports a filemode attribute, and <tarfileset> suports a mode attribute that allow you to set the right mode on the archived files.
> See the "release" target here for a real example:
> http://svn.sourceforge.net/viewcvs.cgi/p4spam/p4spam/trunk/build.xml?view=markup&rev=57

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