You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrei Savu (JIRA)" <ji...@apache.org> on 2011/01/14 19:20:45 UTC

[jira] Created: (WHIRR-209) bin/whirr fails on a new release

bin/whirr fails on a new release
--------------------------------

                 Key: WHIRR-209
                 URL: https://issues.apache.org/jira/browse/WHIRR-209
             Project: Whirr
          Issue Type: Bug
          Components: cli
    Affects Versions: 0.3.0
            Reporter: Andrei Savu
            Assignee: Andrei Savu
            Priority: Blocker
             Fix For: 0.3.0



Steps to reproduce: 

{code}
$ mvn package assembly:assembly
$ cp target/whirr-0.3.0-incubating-SNAPSHOT.tar.gz /tmp
$ cd /tmp
$ tar xvfz whirr-0.3.0-incubating-SNAPSHOT.tar.gz
$ cd whirr-0.3.0-incubating-SNAPSHOT/
$ ./bin/whirr
./bin/whirr: line 24: [: /tmp/whirr-0.3.0-incubating-SNAPSHOT/bin/../whirr-cli-0.3.0-incubating-SNAPSHOT.jar: binary operator expected
No CLI JAR found.
{code}

This is related to the changes made in WHIRR-156. I will provide a fix. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WHIRR-209) bin/whirr fails on a new release

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981872#action_12981872 ] 

Tom White commented on WHIRR-209:
---------------------------------

Is related to WHIRR-127 (or the same problem)?

> bin/whirr fails on a new release
> --------------------------------
>
>                 Key: WHIRR-209
>                 URL: https://issues.apache.org/jira/browse/WHIRR-209
>             Project: Whirr
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.3.0
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>            Priority: Blocker
>             Fix For: 0.3.0
>
>
> Steps to reproduce: 
> {code}
> $ mvn package assembly:assembly
> $ cp target/whirr-0.3.0-incubating-SNAPSHOT.tar.gz /tmp
> $ cd /tmp
> $ tar xvfz whirr-0.3.0-incubating-SNAPSHOT.tar.gz
> $ cd whirr-0.3.0-incubating-SNAPSHOT/
> $ ./bin/whirr
> ./bin/whirr: line 24: [: /tmp/whirr-0.3.0-incubating-SNAPSHOT/bin/../whirr-cli-0.3.0-incubating-SNAPSHOT.jar: binary operator expected
> No CLI JAR found.
> {code}
> This is related to the changes made in WHIRR-156. I will provide a fix. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WHIRR-209) bin/whirr fails on a new release

Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981927#action_12981927 ] 

Andrei Savu commented on WHIRR-209:
-----------------------------------

I don't think so but I'm not familiar with the release process. 

> bin/whirr fails on a new release
> --------------------------------
>
>                 Key: WHIRR-209
>                 URL: https://issues.apache.org/jira/browse/WHIRR-209
>             Project: Whirr
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.3.0
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>            Priority: Blocker
>             Fix For: 0.3.0
>
>
> Steps to reproduce: 
> {code}
> $ mvn package assembly:assembly
> $ cp target/whirr-0.3.0-incubating-SNAPSHOT.tar.gz /tmp
> $ cd /tmp
> $ tar xvfz whirr-0.3.0-incubating-SNAPSHOT.tar.gz
> $ cd whirr-0.3.0-incubating-SNAPSHOT/
> $ ./bin/whirr
> ./bin/whirr: line 24: [: /tmp/whirr-0.3.0-incubating-SNAPSHOT/bin/../whirr-cli-0.3.0-incubating-SNAPSHOT.jar: binary operator expected
> No CLI JAR found.
> {code}
> This is related to the changes made in WHIRR-156. I will provide a fix. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WHIRR-209) bin/whirr fails on a new release

Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WHIRR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Savu resolved WHIRR-209.
-------------------------------

    Resolution: Not A Problem

I'm closing this. No longer an issue probably thanks to changes in WHIRR-210. 

> bin/whirr fails on a new release
> --------------------------------
>
>                 Key: WHIRR-209
>                 URL: https://issues.apache.org/jira/browse/WHIRR-209
>             Project: Whirr
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.3.0
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>            Priority: Blocker
>             Fix For: 0.3.0
>
>
> Steps to reproduce: 
> {code}
> $ mvn package assembly:assembly
> $ cp target/whirr-0.3.0-incubating-SNAPSHOT.tar.gz /tmp
> $ cd /tmp
> $ tar xvfz whirr-0.3.0-incubating-SNAPSHOT.tar.gz
> $ cd whirr-0.3.0-incubating-SNAPSHOT/
> $ ./bin/whirr
> ./bin/whirr: line 24: [: /tmp/whirr-0.3.0-incubating-SNAPSHOT/bin/../whirr-cli-0.3.0-incubating-SNAPSHOT.jar: binary operator expected
> No CLI JAR found.
> {code}
> This is related to the changes made in WHIRR-156. I will provide a fix. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WHIRR-209) bin/whirr fails on a new release

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982195#action_12982195 ] 

Tom White commented on WHIRR-209:
---------------------------------

This is since WHIRR-210, I think. I'm not sure why the JAR is not longer being created, but this is the correct behaviour since we shouldn't ship all the test dependencies (which is what WHIRR-210 fixed). I'm fine with closing this issue. We might also look at making the build less brittle by excluding the test jar from the binary distribution in whirr-build-tools/src/assemble-bin.xml.

> bin/whirr fails on a new release
> --------------------------------
>
>                 Key: WHIRR-209
>                 URL: https://issues.apache.org/jira/browse/WHIRR-209
>             Project: Whirr
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.3.0
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>            Priority: Blocker
>             Fix For: 0.3.0
>
>
> Steps to reproduce: 
> {code}
> $ mvn package assembly:assembly
> $ cp target/whirr-0.3.0-incubating-SNAPSHOT.tar.gz /tmp
> $ cd /tmp
> $ tar xvfz whirr-0.3.0-incubating-SNAPSHOT.tar.gz
> $ cd whirr-0.3.0-incubating-SNAPSHOT/
> $ ./bin/whirr
> ./bin/whirr: line 24: [: /tmp/whirr-0.3.0-incubating-SNAPSHOT/bin/../whirr-cli-0.3.0-incubating-SNAPSHOT.jar: binary operator expected
> No CLI JAR found.
> {code}
> This is related to the changes made in WHIRR-156. I will provide a fix. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WHIRR-209) bin/whirr fails on a new release

Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982174#action_12982174 ] 

Andrei Savu commented on WHIRR-209:
-----------------------------------

The current trunk no longer adds the .jar with tests in the release archive. Is this the expected behavior? If so this issue should be closed. 

> bin/whirr fails on a new release
> --------------------------------
>
>                 Key: WHIRR-209
>                 URL: https://issues.apache.org/jira/browse/WHIRR-209
>             Project: Whirr
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.3.0
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>            Priority: Blocker
>             Fix For: 0.3.0
>
>
> Steps to reproduce: 
> {code}
> $ mvn package assembly:assembly
> $ cp target/whirr-0.3.0-incubating-SNAPSHOT.tar.gz /tmp
> $ cd /tmp
> $ tar xvfz whirr-0.3.0-incubating-SNAPSHOT.tar.gz
> $ cd whirr-0.3.0-incubating-SNAPSHOT/
> $ ./bin/whirr
> ./bin/whirr: line 24: [: /tmp/whirr-0.3.0-incubating-SNAPSHOT/bin/../whirr-cli-0.3.0-incubating-SNAPSHOT.jar: binary operator expected
> No CLI JAR found.
> {code}
> This is related to the changes made in WHIRR-156. I will provide a fix. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WHIRR-209) bin/whirr fails on a new release

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981945#action_12981945 ] 

Tom White commented on WHIRR-209:
---------------------------------

This is a different problem. The 

{noformat}
whirr-cli-*.jar
{noformat}

glob is matching {{whirr-cli-0.3.0-incubating-SNAPSHOT.jar}} *and* {{whirr-cli-0.3.0-incubating-SNAPSHOT-tests.jar}} which causes it to fail. We could fix this by calling 

{noformat}
shopt -s extglob
{noformat}

 at the beginning of the script and then using 

{noformat}
!(whirr-cli-*-tests).jar
{noformat}

 as the pattern.

> bin/whirr fails on a new release
> --------------------------------
>
>                 Key: WHIRR-209
>                 URL: https://issues.apache.org/jira/browse/WHIRR-209
>             Project: Whirr
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.3.0
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>            Priority: Blocker
>             Fix For: 0.3.0
>
>
> Steps to reproduce: 
> {code}
> $ mvn package assembly:assembly
> $ cp target/whirr-0.3.0-incubating-SNAPSHOT.tar.gz /tmp
> $ cd /tmp
> $ tar xvfz whirr-0.3.0-incubating-SNAPSHOT.tar.gz
> $ cd whirr-0.3.0-incubating-SNAPSHOT/
> $ ./bin/whirr
> ./bin/whirr: line 24: [: /tmp/whirr-0.3.0-incubating-SNAPSHOT/bin/../whirr-cli-0.3.0-incubating-SNAPSHOT.jar: binary operator expected
> No CLI JAR found.
> {code}
> This is related to the changes made in WHIRR-156. I will provide a fix. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.