Hi ,
I am facing a problem in regards to genrule for GWT on GAE .
I am very new to this and I am creating out a GWT project on GAE from 
scratch.
I might sound very noob, but cant help. I am in a learning stage right now .

The problem what I am facing is in BUILD file DeployArchive which looks 
like this : 
DeployArchive(
    name = "gaedeploy",
    out = "war",
    archives = [["",["GaeExampleAppStatic"]]],
...
)

The blaze build i always complaining for missing genrule in BUILD file when 
I am including the *GaeExampleAppStatic *which looks like this : 
GwtArchive(
    name = 'GaeExampleAppStatic',
    app  = ':gwtApp')

where *gwtApp* is the GWT application target.

I know the below questions might not help Dan exactly to get his answers 
but I might end up in Dan's phase above when I am through the genrule .
*
*
*Question 1: *Why do we need a genrule here. As in why is it 
compulsory(Because if I remove the *archives* params, the application gets 
built just fine )?
*Question 2:* Even if i need a genrule. What should I write in that rule 
that will help archive my GWT app to GAE deploy war. 

Am not using any jdo right now.I will probably be using JPA on hibernate to 
Speckle.
Please let me know if any of you need any more information/s.

Thanks+Regards


On Thursday, 27 September 2012 04:13:48 UTC+5:30, Dan Cheng wrote:
>
> Hi, GWT gurus,
>
> We are trying to export a GWT package in closure environment, we already 
> have the package ready in jar or zip format.
> But how can we unzip it into files (including js and css) and used by 
> closure code?
>
> we have sth like
>
> GwtArchive(name='mymodulejar',          app = '//my/path:MyApp'        
> )JS_PATH = 'my/javascript/path'genrule(name='mymodule',        
> srcs=[':mymodulejar'],          cmd='mkdir -p ' + JS_PATH + ' && unzip -j 
> $(location :mymodulejar) -d ' + JS_PATH
>        )
>
> But I cannot get the files in the jar. These include js file and css file.
> Any pointer are appreciated, thanks!
> Dan
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/bfPdyVx4HXcJ.
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