Skip to content

Fixes bug where -jar and -cp were conflicting and breaking stagegroups#216

Merged
laserval merged 1 commit into
Findwise:masterfrom
jwestberg:stage-group-classpath
Jun 14, 2013
Merged

Fixes bug where -jar and -cp were conflicting and breaking stagegroups#216
laserval merged 1 commit into
Findwise:masterfrom
jwestberg:stage-group-classpath

Conversation

@jwestberg
Copy link
Copy Markdown
Contributor

When StageGroups contain stages from multiple jars, the java commandline call was being incorrectly constructed.

java -cp <path>/* -jar <onejar>.jar was incorrect. -jar will force the java command to ignore any passed classpath with the -cp flag. Additionally, wildcard classpaths would only work if there was no classpath at all in the manifest of any of the jars, otherwise it would crash.

In short, I think we (me) rather failed in testing StageGroups when they were not living in the same jar.

laserval pushed a commit that referenced this pull request Jun 14, 2013
Fixes bug where -jar and -cp were conflicting and breaking stagegroups
@laserval laserval merged commit 8e392de into Findwise:master Jun 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants