[JBoss JIRA] (JBTM-2226) Issue with MAVEN_OPTS on Debian
by Michael Musgrove (JIRA)
[ https://issues.jboss.org/browse/JBTM-2226?page=com.atlassian.jira.plugin.... ]
Michael Musgrove reassigned JBTM-2226:
--------------------------------------
Assignee: Michael Musgrove (was: Tom Jenkinson)
> Issue with MAVEN_OPTS on Debian
> -------------------------------
>
> Key: JBTM-2226
> URL: https://issues.jboss.org/browse/JBTM-2226
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Build System
> Affects Versions: 5.0.2
> Environment: Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux
> Reporter: Mark Little
> Assignee: Michael Musgrove
> Priority: Minor
>
> MAVEN_OPTS unset
> mark@debian:~/Desktop/narayana$ ./build.sh -am -l :arjunacore
> ./build.sh: 42: ./build.sh: [[: not found
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (JBTM-2226) Issue with MAVEN_OPTS on Debian
by Mark Little (JIRA)
[ https://issues.jboss.org/browse/JBTM-2226?page=com.atlassian.jira.plugin.... ]
Mark Little commented on JBTM-2226:
-----------------------------------
BTW the build proceeds fine. It's just various warnings when, presumably, the variable(s) is(are) null. Maybe better error handling within the script?
> Issue with MAVEN_OPTS on Debian
> -------------------------------
>
> Key: JBTM-2226
> URL: https://issues.jboss.org/browse/JBTM-2226
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Build System
> Affects Versions: 5.0.2
> Environment: Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux
> Reporter: Mark Little
> Assignee: Tom Jenkinson
> Priority: Minor
>
> MAVEN_OPTS unset
> mark@debian:~/Desktop/narayana$ ./build.sh -am -l :arjunacore
> ./build.sh: 42: ./build.sh: [[: not found
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (JBTM-2226) Issue with MAVEN_OPTS on Debian
by Mark Little (JIRA)
[ https://issues.jboss.org/browse/JBTM-2226?page=com.atlassian.jira.plugin.... ]
Mark Little commented on JBTM-2226:
-----------------------------------
It's dash on the version of Debian I'm using.
> Issue with MAVEN_OPTS on Debian
> -------------------------------
>
> Key: JBTM-2226
> URL: https://issues.jboss.org/browse/JBTM-2226
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Build System
> Affects Versions: 5.0.2
> Environment: Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux
> Reporter: Mark Little
> Assignee: Tom Jenkinson
> Priority: Minor
>
> MAVEN_OPTS unset
> mark@debian:~/Desktop/narayana$ ./build.sh -am -l :arjunacore
> ./build.sh: 42: ./build.sh: [[: not found
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (JBTM-2226) Issue with MAVEN_OPTS on Debian
by Michael Musgrove (JIRA)
[ https://issues.jboss.org/browse/JBTM-2226?page=com.atlassian.jira.plugin.... ]
Michael Musgrove commented on JBTM-2226:
----------------------------------------
The build script relies on bash being the default shell. So on debian /bin/sh must be resolving to something other than bash. What is the debian default shell (ie what does ps -p $$ report).
The only solution I can think of is to update build.sh to check that the default script is bash and if not then exit with an error. And in the README explain that the user either needs to update build.sh to refer to bash or we give him a build command line that does not require build.sh.
> Issue with MAVEN_OPTS on Debian
> -------------------------------
>
> Key: JBTM-2226
> URL: https://issues.jboss.org/browse/JBTM-2226
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Build System
> Affects Versions: 5.0.2
> Environment: Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux
> Reporter: Mark Little
> Assignee: Tom Jenkinson
> Priority: Minor
>
> MAVEN_OPTS unset
> mark@debian:~/Desktop/narayana$ ./build.sh -am -l :arjunacore
> ./build.sh: 42: ./build.sh: [[: not found
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (JBTM-2226) Issue with MAVEN_OPTS on Debian
by Mark Little (JIRA)
Mark Little created JBTM-2226:
---------------------------------
Summary: Issue with MAVEN_OPTS on Debian
Key: JBTM-2226
URL: https://issues.jboss.org/browse/JBTM-2226
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Build System
Affects Versions: 5.0.2
Environment: Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux
Reporter: Mark Little
Assignee: Tom Jenkinson
Priority: Minor
MAVEN_OPTS unset
mark@debian:~/Desktop/narayana$ ./build.sh -am -l :arjunacore
./build.sh: 42: ./build.sh: [[: not found
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (JBTM-2209) Use Deque for ThreadActionData
by Mark Little (JIRA)
[ https://issues.jboss.org/browse/JBTM-2209?page=com.atlassian.jira.plugin.... ]
Mark Little commented on JBTM-2209:
-----------------------------------
Thanks, but that's about as much use to me as a chocolate fireguard! ;) Or giving me a scalar number when I need a vector.
What was the test used? How many iterations?
We could do this ourselves of course, but it'd be so much simpler if you've already done that work :-)
> Use Deque for ThreadActionData
> ------------------------------
>
> Key: JBTM-2209
> URL: https://issues.jboss.org/browse/JBTM-2209
> Project: JBoss Transaction Manager
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Transaction Core
> Reporter: Jesper Pedersen
> Assignee: Michael Musgrove
> Attachments: Test.java
>
>
> Note, there are other usages of java.util.Stack in the code base that could be changed as well
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months