Compilation is not the problem, that's working fine.

Running in devmode gives the error.


On 25 Feb., 13:06, "malliseven.hills" <[email protected]>
wrote:
> hmmm..
>
> give like this
>
> it would be fine now.
>
> <target name="gwt-compile" depends="java-compile">
>         <java failonerror="true" fork="true"
> classname="com.google.gwt.dev.Compiler">
>              <classpath refid="classpathid" />
>               <jvmarg value="-Xmx256M"/>
>               <arg value="com.mycompany.mywebapp.MyWebApp"/>
>         </java>
>         </target>
>
> Thanks,
> Malli.
>
>
>
> On Thu, Feb 25, 2010 at 5:42 AM, stinnux <[email protected]> wrote:
> > hmm. then i get
>
> > [java] Unknown argument: -startupUrl
>
> > I am using GWT2.0.2
>
> > My devmode section now looks like this:
>
> >  <target name="devmode" depends="javac" description="Run development
> > mode">
> >    <java failonerror="true" fork="true"
> > classname="com.google.gwt.dev.Compiler">
> >      <classpath>
> >        <pathelement location="src"/>
> >        <path refid="project.class.path"/>
> >      </classpath>
> >      <jvmarg value="-Xmx256M"/>
> >      <arg value="-startupUrl"/>
> >      <arg value="MyWebApp.html"/>
> >      <!-- Additional arguments like -style PRETTY or -logLevel DEBUG
> > -->
> >      <arg line="${gwt.args}"/>
> >      <arg value="com.mycompany.mywebapp.MyWebApp"/>
> >    </java>
> >  </target>
>
> > On 25 Feb., 11:16, "malliseven.hills" <[email protected]>
> > wrote:
> > > Hi You can use
> > > " com.google.gwt.dev.Compiler"  instead of  " com.google.gwt.dev.DevMode"
> > > if you use GWT2.0.
>
> > > Thanks,
> > > Malli.
>
> > > On Thu, Feb 25, 2010 at 3:41 AM, stinnux <[email protected]> wrote:
> > > > Here it is:
>
> > > >  <target name="devmode" depends="javac" description="Run development
> > > > mode">
> > > >    <java failonerror="true" fork="true"
> > > > classname="com.google.gwt.dev.DevMode">
> > > >      <classpath>
> > > >        <pathelement location="src"/>
> > > >        <path refid="project.class.path"/>
> > > >      </classpath>
> > > >      <jvmarg value="-Xmx256M"/>
> > > >      <arg value="-startupUrl"/>
> > > >      <arg value="MyWebApp.html"/>
> > > >      <!-- Additional arguments like -style PRETTY or -logLevel DEBUG
> > > > -->
> > > >      <arg line="${gwt.args}"/>
> > > >      <arg value="com.mycompany.mywebapp.MyWebApp"/>
> > > >    </java>
> > > >  </target>
>
> > > > On 25 Feb., 06:31, "malliseven.hills" <[email protected]>
> > > > wrote:
> > > > > Can u paste me your build.xml ?  oh  sorry may be its huge paste me
> > at
> > > > > least  "devmode" target?
>
> > > > > On Wed, Feb 24, 2010 at 1:34 PM, stinnux <[email protected]> wrote:
> > > > > > Hello,
>
> > > > > > i am just starting to try GWT and i already fail at the "Get
> > started
> > > > > > with the GWT SDK" section.
>
> > > > > > I am supposed to run ant devmode, but i get the following result:
>
> > > > > > tstin...@linux-2d15:~/devel/gwt/MyWebApp> ant devmode
> > > > > > Buildfile: build.xml
>
> > > > > > libs:
>
> > > > > > javac:
>
> > > > > > devmode:
> > > > > >     [java] Exception in thread "GWT Update Checker"
> > > > > > java.lang.NullPointerException
> > > > > >     [java]    at
>
> > com.google.gwt.dev.shell.CheckForUpdates.check(CheckForUpdates.java:
> > > > > > 256)
> > > > > >     [java]    at com.google.gwt.dev.DevModeBase
> > > > > > $1.run(DevModeBase.java:879)
> > > > > >     [java] java.lang.NullPointerException
> > > > > >     [java]    at
>
> > com.google.gwt.dev.shell.BrowserListener.<init>(BrowserListener.java:
> > > > > > 69)
> > > > > >     [java]    at
>
> > com.google.gwt.dev.DevModeBase.ensureCodeServerListener(DevModeBase.java:
> > > > > > 898)
> > > > > >     [java]    at
> > > > > > com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:888)
> > > > > >     [java]    at
> > > > > > com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1030)
> > > > > >     [java]    at
> > com.google.gwt.dev.DevModeBase.run(DevModeBase.java:
> > > > > > 783)
> > > > > >     [java]    at com.google.gwt.dev.DevMode.main(DevMode.java:275)
>
> > > > > > BUILD SUCCESSFUL
> > > > > > Total time: 1 second
>
> > > > > > java is the sun sdk 16.0_18. I am running under SLED11 (virtualized
> > > > > > inside VirtualBox). Internet Access is possible.
>
> > > > > > Any Idea what might be wrong?
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > Groups
> > > > > > "Google Web Toolkit" group.
> > > > > > To post to this group, send email to
> > > > [email protected].
> > > > > > To unsubscribe from this group, send email to
> > > > > > [email protected]<google-web-toolkit%2Bunsubs
> > > > > >  [email protected]><google-web-toolkit%2Bunsubs
> > [email protected]><google-web-toolkit%2Bunsubs
> > > > [email protected]>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Google Web Toolkit" group.
> > > > To post to this group, send email to
> > [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<google-web-toolkit%2Bunsubs
> > > >  [email protected]><google-web-toolkit%2Bunsubs
> > [email protected]>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%2Bunsubs 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en.

Reply via email to