grprakash / cypal-studio

Automatically exported from code.google.com/p/cypal-studio
0 stars 0 forks source link

Basic GWT Naming Conventions are not used #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I really like Cypal, but I noticed that when you create a new project,
it doesn't us GWT naming conventions.  

For example, there is no test directory and there is no WWW folder. 

Cypal is still def usable, but it would make dev more uniform across the board.

I recommend that Cypal adopts the GWT naming conventions for new projects.

http://code.google.com/docreader/#p(google-web-toolkit-doc-1-5)s(google-web-tool
kit-doc-1-5)t(DevGuideDirectoriesPackageConventions)

Thanks!

Original issue reported on code.google.com by terrance...@gmail.com on 9 Jul 2008 at 3:43

GoogleCodeExporter commented 9 years ago
I went thru the link.

(*) src - Created as it is
(*) test - Not created. Will do that we support for junit is added
(*) www - The output location is configurable in the preferences. You can 
change to
whatever way you want. I can make the default as www, but reluctant to change 
that
because build/* is the default output location for the generated files in 
Eclipse WTP
(like build/classes for the java class files)
(*) tomcat - GWT creates this directory and its created as specified

Nothing to be done.

Original comment by grprakash on 9 Jul 2008 at 4:25

GoogleCodeExporter commented 9 years ago
grprakash,

Thanks for the quick turn around.  I have two quick comments.

(*) test - Not created. Will do that we support for junit is added
Why not just create and empty test folder so I could put my own code there?  
That
should be simple enough to do.

(*) www - The output location is configurable in the preferences. You can 
change to
whatever way you want. 
Do you know where you change these preferences?  After talking about this in the
office for a bit, I think that I want to politely push back.  Cypal is building 
a GWT
project.  I think that you should follow the GWT conventions.  Ideally, someone
should be able to pick up my project and instantly know where the output is 
going. 
Sorry to argue such a minor point.  I really do like Cypal.  Thank you for 
working on it.

Original comment by terrance...@gmail.com on 9 Jul 2008 at 8:31

GoogleCodeExporter commented 9 years ago
> Why not just create and empty test folder so I could put my own code there?
   Why should I create an empty folder? GWT conventions says that the test code goes
into test folder. When there is no test code, there won't be a test folder as 
well.
In case you need the empty folder, its just a matter of few seconds to create it

> Do you know where you change these preferences?

   In the most obvious place :-) Window->Preferences->Cypal Studio

> Cypal is building a GWT project.

  If you look into things, its not a GWT Project. Rather its a WTP's Dynamic Web
Project with Cypal's GWT Facet (there can be many other facets in the project as
well). So my priority is the follow the WTP's convention over GWT's convention.

Original comment by grprakash on 10 Jul 2008 at 9:51

GoogleCodeExporter commented 9 years ago
grprakash,

Thanks for looking into these issues again.  I appreciate it.  

Terry

Original comment by terrance...@gmail.com on 10 Jul 2008 at 2:16