You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "David J. M. Karlsen" <da...@davidkarlsen.com> on 2006/04/07 23:06:06 UTC
Re: PROBLEM SOLVED : Line too long error when I try to fork the compiler
for jdk1.3
Sanjay Choudhary skrev:
>Finally I was able to resolve this issue
>
>On DOS if number of source files or classpath entries are too many we get an
>error "Line too Long" and this breaks compiling using jdk1.3 using fork.
>
>To shorten the options and source files to javac command we can use
>
>javac @options @class <other options)
>
>in my solution file options contain list of all the classpath entries and
>@class contains list of all .java files that needs to be compiled.
>
>I made changes to AbstractCompilerMojo.java in maven-compiler-plugin (
>2.0.1-SNAPSHOT) and JavacCompiler in plexus-compiler-java (1.6-SNAPSHOT).
>These changes will kick into play only if fork = true.
>
>
Hmm, I still get issues with 2.0.1 and 1.6-SNAPSHOT?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: PROBLEM SOLVED : Line too long error when I try to fork the compiler for jdk1.3
Posted by Carlos Sanchez <ca...@apache.org>.
It was not fixed, see http://jira.codehaus.org/browse/MCOMPILER-22
On 4/7/06, David J. M. Karlsen <da...@davidkarlsen.com> wrote:
> Sanjay Choudhary skrev:
>
> >Finally I was able to resolve this issue
> >
> >On DOS if number of source files or classpath entries are too many we get an
> >error "Line too Long" and this breaks compiling using jdk1.3 using fork.
> >
> >To shorten the options and source files to javac command we can use
> >
> >javac @options @class <other options)
> >
> >in my solution file options contain list of all the classpath entries and
> >@class contains list of all .java files that needs to be compiled.
> >
> >I made changes to AbstractCompilerMojo.java in maven-compiler-plugin (
> >2.0.1-SNAPSHOT) and JavacCompiler in plexus-compiler-java (1.6-SNAPSHOT).
> >These changes will kick into play only if fork = true.
> >
> >
> Hmm, I still get issues with 2.0.1 and 1.6-SNAPSHOT?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org