Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
GWT Compiler error when using ln -s /other/dir/ public
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ianH  
View profile  
 More options Aug 19 2006, 5:44 am
From: "ianH" <ian.hay...@gmail.com>
Date: Sat, 19 Aug 2006 09:44:59 -0000
Local: Sat, Aug 19 2006 5:44 am
Subject: GWT Compiler error when using ln -s /other/dir/ public
I created a small test GWT application with project/applicationCreator
and everything worked as expected. The public directory contained my
HTML file.

If I move the HTML file to another directory and create a link for
public to the new directory I get a compiler error.

E.g.

** Compilation succeeds without directory link **

~/booking$ ./Booking-compile
Output will be written into ./www/com.brittanygites.Booking
Copying all files found on public path
Compilation succeeded

~/booking/src/com/brittanygites/public$ ls
dummy.html
~/booking/src/com/brittanygites/public$ mv dummy.html
~/dev/BookingClient/
~/booking/src/com/brittanygites/public$ cd ..
~/booking/src/com/brittanygites$ rmdir public
~/booking/src/com/brittanygites$ ln -s ~/dev/BookingClient/ public
~/booking/src/com/brittanygites$ ls public
dummy.html  getdata.php  index.php  JSON.php  json.sql

** Compilation fails using a directory link for public **

~/booking$ ./Booking-compile
Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
String index out of range: -11
        at java.lang.String.substring(String.java:1768)
        at java.lang.String.substring(String.java:1735)
        at
com.google.gwt.dev.util.FileOracleFactory.indexFolder(FileOracleFactory.jav a:200)
        at
com.google.gwt.dev.util.FileOracleFactory.indexURL(FileOracleFactory.java:2 98)
        at
com.google.gwt.dev.util.FileOracleFactory.create(FileOracleFactory.java:430 )
        at
com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:332)
        at
com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:161)
        at
com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.ja va:59)
        at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:619)
        at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:189)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »