Netbeans subversion integration

21 views
Skip to first unread message

Alexandre Pereira Nunes

unread,
Feb 12, 2014, 10:58:21 AM2/12/14
to codenameone...@googlegroups.com
Hi,

I noted that currently codenameone projects in netbeans are not subversion (nor any other version control?) friendly. I would like to point some points I would like to see improved someday if possible:

- the codenameone_settings.properties contains properties both global (e.g. mainForm) and private (e.g. codename1.android.keystorePassword) properties. Netbeans normally separates them into nbproject/* and nbproject/private/*, which means one avoids version-controlling whatever is inside nbproject/private. Also one can think of anything reminding personal preferences as private, otherwise when multiple persons are working in the same project there would be a war of conflicts as irrelevant properties are changed.

- currently I couldn't get away without storing src/generated/StateMachineBase.java as failing to do so I couldn't force it to be regenerated. It's common-practice to leave any intermediate/regeneratable file out of version control.

- I couldn't find a way to let netbeans know that a codenameone project is managed into subversion, as to integrate with netbeans built-in subversion support.

That said, I thank you all very much for all the effort on this outstanding project.

Shai Almog

unread,
Feb 12, 2014, 1:08:48 PM2/12/14
to codenameone...@googlegroups.com
Hi,
Thanks.
We store all our projects in subversion and use the NetBeans support for subversion. I have no idea what isn't working for you but it sounds like a NetBeans issue.

I agree that we might need a private settings file, that does make sense. Unfortunately we can't use the NetBeans convention since a lot of our code is cross IDE.

The StatemachineBase issue is indeed a bit painful in a team but manageable thanks to the XML team mode in the designer tool.

Alexandre Pereira Nunes

unread,
Feb 12, 2014, 2:34:59 PM2/12/14
to codenameone...@googlegroups.com
Em quarta-feira, 12 de fevereiro de 2014 16h08min48s UTC-2, Shai Almog escreveu:
[cut]

The StatemachineBase issue is indeed a bit painful in a team but manageable thanks to the XML team mode in the designer tool.


Could you elaborate a little more on this point?

Thanks! 

Shai Almog

unread,
Feb 13, 2014, 3:13:13 AM2/13/14
to codenameone...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages