Is there any update on this ?

thanks, Edell.

On Jul 28, 1:57 pm, edelln <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have tested with beta18 and this error this exists in the plugin
>
> If you look in the the ScriptWriterWindows.java file and do a search
> for 4000 - you will see
>
>  //break the line at 4000 characters to avout max size.
>             if (cpString.length() > 4000) {
>                 writer.println(cpString);
>                 cpString = new StringBuffer();
>                 writer.print("set CLASSPATH=%CLASSPATH%;");
>             }
>
> Can you change this to 6000 as it won't compile my classes as it says
> the classpath is over 4000 but if i change it to 6000 it works fine.
>
> thanks, Edell.
>
> ---------- Forwarded message ----------
> From: edelln <[EMAIL PROTECTED]>
> Date: Apr 8, 5:58 pm
> Subject: maven-googlewebtoolkit2-plugin fails trying to set the
>
> CLASSPATH due to limitation of characters on windows.
> To: gwt-maven
>
> I get the following error below with 2.0-beta8 and still get line too
> long with version 9.
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Exception attempting compile.
>
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Exception
> attempting com
> pile.
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:564)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:459)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
> 334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
> 125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Exception
> attempting
> compile.
>         at
> com.totsp.mavenplugin.gwt.CompileMojo.execute(CompileMojo.java:60)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:443)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:539)
>         ... 16 more
> Caused by: java.lang.NullPointerException
>         at
> com.totsp.mavenplugin.gwt.ScriptWriterWindows.writeCompileScript(Scri
> ptWriterWindows.java:130)
>         at
> com.totsp.mavenplugin.gwt.CompileMojo.execute(CompileMojo.java:52)
>
> On Mar 29, 5:06 pm, "Robert \"kebernet\" Cooper" <[EMAIL PROTECTED]>
> wrote:
>
> > Please try the 2.0beta8 version and let me know of it works for you.
>
> > On Wed, Mar 26, 2008 at 7:59 AM, edelln <[EMAIL PROTECTED]> wrote:
>
> > > Any Update on when this is going to be released ?
>
> > > thanks, Edell.
>
> > > On Mar 11, 10:42 am, edelln <[EMAIL PROTECTED]> wrote:
> > > > Hi,
>
> > > > Thats great! Do you have any idea when that will be ?
>
> > > > Are we talking days or weeks ?
>
> > > > thanks, Edell.
>
> > > > On Mar 10, 3:00 pm, "Robert \"kebernet\" Cooper" <[EMAIL PROTECTED]>
> > > > wrote:
>
> > > > > There is a fix for this in CVS. Once I get the new plugin version up,
> > > this
> > > > > should be corrected.
>
> > > > > On Mon, Mar 10, 2008 at 7:00 AM, edelln <[EMAIL PROTECTED]> wrote:
>
> > > > > > Hi,
>
> > > > > > I am trying to use the webtookkit but it fails on windows due to the
> > > > > > limitations of the length of characters when it is attempting to set
> > > > > > the CLASSPATH.
>
> > > > > > I see in the code in  com.totsp.mavenplugin.gwt.ScriptWriterWindows
> > > > > > class in both methods
>
> > > > > > writeRunScript(...) and writeCompileScript(...)
>
> > > > > > there is a comparison
>
> > > > > >  if( cpString.length() > 4000 ){
>
> > > > > > If I change this to 6000 - this works for me after rebuilding the
> > > > > > src.
>
> > > > > > Is it possible to increase this size ???
>
> > > > > > thanks, Edell.
>
> > > > > --
> > > > > :Robert "kebernet" Cooper
> > > > > ::[EMAIL PROTECTED]
> > > > > Alice's cleartext
> > > > > Charlie is the attacker
> > > > > Bob signs and
> > > encryptshttp://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8-Hide
> > > quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > > - Show quoted text -
>
> > --
> > :Robert "kebernet" Cooper
> > ::[EMAIL PROTECTED]
> > Alice's cleartext
> > Charlie is the attacker
> > Bob signs and 
> > encryptshttp://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8-Hidequoted
> >  text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to