Development vs Deployed

31 views
Skip to first unread message

RRRaney

unread,
Nov 17, 2010, 6:01:08 PM11/17/10
to gwt-multipage
Hello,

@UrlPatternEntryPoint("Application.html(\\\\?
gwt.codesvr=127.0.0.1:9997)?|")
public class Application implements EntryPoint {
public void onModuleLoad() {
RootPanel.get();
}
}

When I run this in development mode, I go to my Application.html page
and all is well.

@UrlPatternEntryPoint("Application.html")
public class Application implements EntryPoint {
public void onModuleLoad() {
RootPanel.get();
}
}

When I try to Deploy and then run it I get to the Application.html
page
But I have a list of my EntryPoint classes.

I have tried just about every variation that I can think of to go
directly to Application.html

But nothing seems to work.

If I enter the Application.html as part of the URL to the Browser (IE)
I get in fine.

http://rrrsystems-test.appspot.com

I get the list first

http://rrrsystems-test.appspot.com/Application.html

Works fine, I skip the list.

Any suggestions on where I may be going wrong?

Thanks,

Raney

RRRaney

unread,
Nov 17, 2010, 6:25:10 PM11/17/10
to gwt-multipage
Sorry False Alarm,

My first approach works just great.

@UrlPatternEntryPoint("Application.html(\\\\?
gwt.codesvr=127.0.0.1:9997)?|")
public class Application implements EntryPoint {
public void onModuleLoad() {
RootPanel.get();
}
}

When I tried from the links in my last message both worked just the
same.

My shortcut that I was using was screwed up.

It is a wonder that my keyboard still works, I have been screwing
around with this all day.

Now that I can see it working as the Demo does I will start putting
it to work.

Thanks again,
Great stuff,

Raney

Brian Reilly

unread,
Nov 18, 2010, 1:43:09 PM11/18/10
to gwt-mu...@googlegroups.com
I'm glad you were able to get it working. Ideally, there should be a better solution to development mode than manually having to put that regular expression in the @UrlPatternEntryPoint annotation. I suspect that is at least partly to blame for the trouble you had.

-Brian


Raney

--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe gwt-multipage beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an gwt-mu...@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an gwt-multipag...@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/gwt-multipage?hl=de, um weitere Optionen zu erhalten.


Reply all
Reply to author
Forward
0 new messages