Shikhar13 / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Eclipse Project Generator creates wrong Filename/Propertyvalue #316

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The issue relates to the project-generator of the eclipse-plugin. 
To be able to bind events in the CodenameOne-Designer, the value for the 
"guiResource"-Property in the codenameone_settings.properties has to match the 
Name of the generated .res-File. 

The Eclipse-Plugin seems to generate two different values, while the Netbeans 
plugin generates the values correctly. 
The following list compares the actual .res-File-Name with the 
gui-Resource-Property in the settings.properties:

Hello World (Manual)
Generated Resource-File  theme.res  
Properties-File guiResource-Value  none

Hello World (Visual)
Generated Resource-File  theme.res  
Properties-File guiResource-Value  themeAndGUI.res

Tab-Application
Generated Resource-File  theme.res  
Properties-File guiResource-Value  themeAndGUI.res

List-Application
Generated Resource-File  theme.res  
Properties-File guiResource-Value  themeAndGUI.res

What steps will reproduce the problem?
1. Creating a project with a visual template (Hello World Visual, 
Tab-Application, List-Application)
2. Inspect the src-Directory for the generated .res-File
3. Inspect the codenameone_settings.properties for the value of the property 
guiResource
4. Compare the two values

What is the expected output? What do you see instead?
The expected output is wether theme.res in the properties-File or 
themeAndGui.res as actual filename.

What version of the product are you using? On what operating system?
Eclipseplugin Version 1.0.0.201208271011
Windows 7 64-Bit

The according discussion on googlegroups is located here: 
https://groups.google.com/group/codenameone-discussions/browse_thread/thread/240
007d91836c8d6?hl=de

Original issue reported on code.google.com by goo...@habereder.net on 5 Sep 2012 at 6:27

GoogleCodeExporter commented 9 years ago
Need to update the theme name in the eclipse plugin generated code.

Original comment by shai.almog on 5 Sep 2012 at 8:06

GoogleCodeExporter commented 9 years ago
fixed, thanks

Original comment by cf27...@gmail.com on 8 Sep 2012 at 8:19