[
https://issues.apache.org/jira/browse/BUILDR-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889965#action_12889965
]
Alex Boisvert commented on BUILDR-439:
--------------------------------------
What is %M2? Did you mean %M2%?
buildr M2_REPO=...
works for me. I mean, it uses whatever value is pass in.
There's no direct way to use "java" with classpath stored in a file. There are
two workarounds that I know of,
1) Use a custom classloader which loads classpath from a file; may not work if
there are assumptions about being loaded in primordial classloader.
2) Copy all files in a directory and use JDK 1.6's support for wildcards in
classpath, e.g. java -cp libs/*
> "The command line is too long" when running TestNG tests
> --------------------------------------------------------
>
> Key: BUILDR-439
> URL: https://issues.apache.org/jira/browse/BUILDR-439
> Project: Buildr
> Issue Type: Bug
> Components: Test frameworks
> Affects Versions: 1.3.5
> Environment: JRuby 1.4.1 on Win7
> Reporter: Tammo van Lessen
> Assignee: Antoine Toulme
> Fix For: 1.4.1
>
>
> When running a huge bunch of TestNG test cases (e.g. in the ODE build),
> buildr creates a command line command that is too long for Windows/JRuby.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.