Re: Google Plugin for Eclipse 3.6 + Different war directory

2010-07-12 Thread Rajeev Dayal
On Sat, Jul 10, 2010 at 10:13 AM, Bálint Kriván  wrote:

> Okay, I've just had time to check it again. I've created a new project in
> Eclipse 3.6 called Dynamic Web Project, and added GWT 2.1.0.M2 (set the WAR
> directory to src/main/webapp, unchecked Launch & Deploy, but provided war
> directory using -war "..."). And it still doesn't copy the war files from
> src/main/webapp to the WAR directory, which makes 3.6 unusable for me (I
> have to write to console: "mvn war:exploded" to copy the files from the
> right place, but it should work out-of-box from Eclipse aswell, and if I
> change web.xml, I have to do it again, which breaks the workflow). Could you
> check it at your side? It should work because it works flawlessly in 3.5,
> maybe something was changed which breaks it.


Hm, this is definitely off; the copy should be happening for you. Just to be
clear, you're using GPE's launch configurations, right?

What platform are you on? Windows, Linux, Mac?

Other issue: it still bothers me that GPE 3.6 doesn't create the WAR
> directory for me, but 3.5 did (when I delete and reimport my project,
> Eclipse build the project, so the directory is created, but GPE should
> create it aswell)
>
>
When you say that GPE doesn't create the WAR directory for you, do you mean
when you're using the New Web Application Wizard? Or, are you talking about
Importing your project?


> Thanks for your help!
>
>
> 2010/7/1 Bálint Kriván 
>
>> Hi!
>>
>> Yes, I've downloaded the one with the J2EE support (
>> http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliosr
>> ).
>> And I made a new workspace for 3.6, so I'm not sure, what's the issue, why
>> it isn't working...
>> The project is the same, I didn't created a new project for 3.6, because
>> I'm using maven, and it was created with "mvn eclipse:eclipse". I will check
>> maybe the WTP version is different in 3.6, so I have to create a new project
>> using "mvn -Dwtpversion= eclipse:eclipse"
>>
>> On Thu, Jul 1, 2010 at 5:11 PM, Jason Parekh wrote:
>>
>>> Hi Bálint,
>>>
>>> Oh, ok.  In that case, the only time that GPE copies files to the WAR
>>> directory specified  by "-war" argument is if you're using the Java EE
>>> support in Eclipse.  Can you make sure your Eclipse 3.6 includes Java EE
>>> support? (Was it the Eclipse for Java EE 3.6 that you downloaded?)  Also,
>>> are you re-using your existing workspace from Eclipse 3.5?  If not, I wonder
>>> if there are differences between how the project was setup in Eclipse 3.5
>>> and how it is setup in Eclipse 3.6?
>>>
>>> jason
>>>
>>> 2010/7/1 Bálint Kriván 
>>>
  Sorry, I've forgot to mention that it isn't checked because in the
 lauch configuration I'm giving an other war directory like this: -war
 "${project_loc}/location/to/war".
 And in 3.5, the files/directories (WEB-INF, META-INF) from the "This
 project has a WAR directory" directory were copied to the other war
 directory "${project_loc}/location/to/war" and it was working. Now only the
 generated js is generated to "${project_loc}/location/to/war" but the
 important files to the webserver isn't.

 So I have a sry directory where are the sources of the war files (my
 module html, with css and WEB-INF + META-INF directories), but I would like
 to compile the whole project to an other directory (because of VCS). I 
 could
 achieved this in 3.5, but not in 3.6, but I really would like to use the 
 new
 eclipse+plugin.

 Thanks!

 On Wed, Jun 30, 2010 at 11:44 PM, Jason Parekh 
 wrote:

> Hi Bálint,
>
> Is the checkbox "Launch and deploy from this directory" checked? (It is
> below the text box you enter the WAR directory in the project properties >
> Google > Web application.)
>
> Also, is this a new project or your existing project?
>
> If you don't mind, could you create a new message thread?
>
> Thanks,
> jason
>
> 2010/6/29 Kriván Bálint 
>
>> Hi!
>>
>> I've just downloaded Helios, and installed the GPE, but I'm having an
>> issues, when I'm starting the Dev Mode it says, that the working
>> directory does not exists. It wasn't a problem in 3.5, but okay, I've
>> created it. Then I've noticed it doesn't copy the war files from the
>> specified directory (This project has a WAR directory checked and the
>> location is given), but 3.5 does. So currently I can't use Eclipse
>> Helios and GPE because of this.
>> Do you know something about these issues? Has anybody else experienced
>> this?
>>
>> Thanks for your help, I really looking forward to use the new Eclipse
>> with the new plugin!
>>
>> Regards,
>> Bálint Kriván
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Google Web Toolkit" group.
>> To post to this group, send email to
>> google-web-tool...@googlegroups.com

Re: Google Plugin for Eclipse 3.6 + Different war directory

2010-07-10 Thread Bálint Kriván
Okay, I've just had time to check it again. I've created a new project in
Eclipse 3.6 called Dynamic Web Project, and added GWT 2.1.0.M2 (set the WAR
directory to src/main/webapp, unchecked Launch & Deploy, but provided war
directory using -war "..."). And it still doesn't copy the war files from
src/main/webapp to the WAR directory, which makes 3.6 unusable for me (I
have to write to console: "mvn war:exploded" to copy the files from the
right place, but it should work out-of-box from Eclipse aswell, and if I
change web.xml, I have to do it again, which breaks the workflow). Could you
check it at your side? It should work because it works flawlessly in 3.5,
maybe something was changed which breaks it.
Other issue: it still bothers me that GPE 3.6 doesn't create the WAR
directory for me, but 3.5 did (when I delete and reimport my project,
Eclipse build the project, so the directory is created, but GPE should
create it aswell)

Thanks for your help!

2010/7/1 Bálint Kriván 

> Hi!
>
> Yes, I've downloaded the one with the J2EE support (
> http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliosr
> ).
> And I made a new workspace for 3.6, so I'm not sure, what's the issue, why
> it isn't working...
> The project is the same, I didn't created a new project for 3.6, because
> I'm using maven, and it was created with "mvn eclipse:eclipse". I will check
> maybe the WTP version is different in 3.6, so I have to create a new project
> using "mvn -Dwtpversion= eclipse:eclipse"
>
> On Thu, Jul 1, 2010 at 5:11 PM, Jason Parekh wrote:
>
>> Hi Bálint,
>>
>> Oh, ok.  In that case, the only time that GPE copies files to the WAR
>> directory specified  by "-war" argument is if you're using the Java EE
>> support in Eclipse.  Can you make sure your Eclipse 3.6 includes Java EE
>> support? (Was it the Eclipse for Java EE 3.6 that you downloaded?)  Also,
>> are you re-using your existing workspace from Eclipse 3.5?  If not, I wonder
>> if there are differences between how the project was setup in Eclipse 3.5
>> and how it is setup in Eclipse 3.6?
>>
>> jason
>>
>> 2010/7/1 Bálint Kriván 
>>
>>>  Sorry, I've forgot to mention that it isn't checked because in the lauch
>>> configuration I'm giving an other war directory like this: -war
>>> "${project_loc}/location/to/war".
>>> And in 3.5, the files/directories (WEB-INF, META-INF) from the "This
>>> project has a WAR directory" directory were copied to the other war
>>> directory "${project_loc}/location/to/war" and it was working. Now only the
>>> generated js is generated to "${project_loc}/location/to/war" but the
>>> important files to the webserver isn't.
>>>
>>> So I have a sry directory where are the sources of the war files (my
>>> module html, with css and WEB-INF + META-INF directories), but I would like
>>> to compile the whole project to an other directory (because of VCS). I could
>>> achieved this in 3.5, but not in 3.6, but I really would like to use the new
>>> eclipse+plugin.
>>>
>>> Thanks!
>>>
>>> On Wed, Jun 30, 2010 at 11:44 PM, Jason Parekh wrote:
>>>
 Hi Bálint,

 Is the checkbox "Launch and deploy from this directory" checked? (It is
 below the text box you enter the WAR directory in the project properties >
 Google > Web application.)

 Also, is this a new project or your existing project?

 If you don't mind, could you create a new message thread?

 Thanks,
 jason

 2010/6/29 Kriván Bálint 

> Hi!
>
> I've just downloaded Helios, and installed the GPE, but I'm having an
> issues, when I'm starting the Dev Mode it says, that the working
> directory does not exists. It wasn't a problem in 3.5, but okay, I've
> created it. Then I've noticed it doesn't copy the war files from the
> specified directory (This project has a WAR directory checked and the
> location is given), but 3.5 does. So currently I can't use Eclipse
> Helios and GPE because of this.
> Do you know something about these issues? Has anybody else experienced
> this?
>
> Thanks for your help, I really looking forward to use the new Eclipse
> with the new plugin!
>
> Regards,
> Bálint Kriván
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Web Toolkit" group.
> To post to this group, send email to
> google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> 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
 google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com
 .
 For

Re: Google Plugin for Eclipse 3.6 + Different war directory

2010-07-01 Thread Bálint Kriván
Hi!

Yes, I've downloaded the one with the J2EE support (
http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliosr
).
And I made a new workspace for 3.6, so I'm not sure, what's the issue, why
it isn't working...
The project is the same, I didn't created a new project for 3.6, because I'm
using maven, and it was created with "mvn eclipse:eclipse". I will check
maybe the WTP version is different in 3.6, so I have to create a new project
using "mvn -Dwtpversion= eclipse:eclipse"

On Thu, Jul 1, 2010 at 5:11 PM, Jason Parekh  wrote:

> Hi Bálint,
>
> Oh, ok.  In that case, the only time that GPE copies files to the WAR
> directory specified  by "-war" argument is if you're using the Java EE
> support in Eclipse.  Can you make sure your Eclipse 3.6 includes Java EE
> support? (Was it the Eclipse for Java EE 3.6 that you downloaded?)  Also,
> are you re-using your existing workspace from Eclipse 3.5?  If not, I wonder
> if there are differences between how the project was setup in Eclipse 3.5
> and how it is setup in Eclipse 3.6?
>
> jason
>
> 2010/7/1 Bálint Kriván 
>
>> Sorry, I've forgot to mention that it isn't checked because in the lauch
>> configuration I'm giving an other war directory like this: -war
>> "${project_loc}/location/to/war".
>> And in 3.5, the files/directories (WEB-INF, META-INF) from the "This
>> project has a WAR directory" directory were copied to the other war
>> directory "${project_loc}/location/to/war" and it was working. Now only the
>> generated js is generated to "${project_loc}/location/to/war" but the
>> important files to the webserver isn't.
>>
>> So I have a sry directory where are the sources of the war files (my
>> module html, with css and WEB-INF + META-INF directories), but I would like
>> to compile the whole project to an other directory (because of VCS). I could
>> achieved this in 3.5, but not in 3.6, but I really would like to use the new
>> eclipse+plugin.
>>
>> Thanks!
>>
>> On Wed, Jun 30, 2010 at 11:44 PM, Jason Parekh wrote:
>>
>>> Hi Bálint,
>>>
>>> Is the checkbox "Launch and deploy from this directory" checked? (It is
>>> below the text box you enter the WAR directory in the project properties >
>>> Google > Web application.)
>>>
>>> Also, is this a new project or your existing project?
>>>
>>> If you don't mind, could you create a new message thread?
>>>
>>> Thanks,
>>> jason
>>>
>>> 2010/6/29 Kriván Bálint 
>>>
 Hi!

 I've just downloaded Helios, and installed the GPE, but I'm having an
 issues, when I'm starting the Dev Mode it says, that the working
 directory does not exists. It wasn't a problem in 3.5, but okay, I've
 created it. Then I've noticed it doesn't copy the war files from the
 specified directory (This project has a WAR directory checked and the
 location is given), but 3.5 does. So currently I can't use Eclipse
 Helios and GPE because of this.
 Do you know something about these issues? Has anybody else experienced
 this?

 Thanks for your help, I really looking forward to use the new Eclipse
 with the new plugin!

 Regards,
 Bálint Kriván

 --
 You received this message because you are subscribed to the Google
 Groups "Google Web Toolkit" group.
 To post to this group, send email to
 google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com
 .
 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 google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>
>>
>> --
>> Üdv,
>> Kriván Bálint
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> 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 google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Üdv,
Kriván Bálint

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send em

Re: Google Plugin for Eclipse 3.6 + Different war directory

2010-07-01 Thread Jason Parekh
Hi Bálint,

Oh, ok.  In that case, the only time that GPE copies files to the WAR
directory specified  by "-war" argument is if you're using the Java EE
support in Eclipse.  Can you make sure your Eclipse 3.6 includes Java EE
support? (Was it the Eclipse for Java EE 3.6 that you downloaded?)  Also,
are you re-using your existing workspace from Eclipse 3.5?  If not, I wonder
if there are differences between how the project was setup in Eclipse 3.5
and how it is setup in Eclipse 3.6?

jason

2010/7/1 Bálint Kriván 

> Sorry, I've forgot to mention that it isn't checked because in the lauch
> configuration I'm giving an other war directory like this: -war
> "${project_loc}/location/to/war".
> And in 3.5, the files/directories (WEB-INF, META-INF) from the "This
> project has a WAR directory" directory were copied to the other war
> directory "${project_loc}/location/to/war" and it was working. Now only the
> generated js is generated to "${project_loc}/location/to/war" but the
> important files to the webserver isn't.
>
> So I have a sry directory where are the sources of the war files (my module
> html, with css and WEB-INF + META-INF directories), but I would like to
> compile the whole project to an other directory (because of VCS). I could
> achieved this in 3.5, but not in 3.6, but I really would like to use the new
> eclipse+plugin.
>
> Thanks!
>
> On Wed, Jun 30, 2010 at 11:44 PM, Jason Parekh wrote:
>
>> Hi Bálint,
>>
>> Is the checkbox "Launch and deploy from this directory" checked? (It is
>> below the text box you enter the WAR directory in the project properties >
>> Google > Web application.)
>>
>> Also, is this a new project or your existing project?
>>
>> If you don't mind, could you create a new message thread?
>>
>> Thanks,
>> jason
>>
>> 2010/6/29 Kriván Bálint 
>>
>>> Hi!
>>>
>>> I've just downloaded Helios, and installed the GPE, but I'm having an
>>> issues, when I'm starting the Dev Mode it says, that the working
>>> directory does not exists. It wasn't a problem in 3.5, but okay, I've
>>> created it. Then I've noticed it doesn't copy the war files from the
>>> specified directory (This project has a WAR directory checked and the
>>> location is given), but 3.5 does. So currently I can't use Eclipse
>>> Helios and GPE because of this.
>>> Do you know something about these issues? Has anybody else experienced
>>> this?
>>>
>>> Thanks for your help, I really looking forward to use the new Eclipse
>>> with the new plugin!
>>>
>>> Regards,
>>> Bálint Kriván
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com
>>> .
>>> 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 google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> Üdv,
> Kriván Bálint
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> 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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.