Migration wizard for old GUI Builder projects

63 views
Skip to first unread message

Tom Tantisalidchai

unread,
Feb 23, 2017, 6:44:38 AM2/23/17
to CodenameOne Discussions
Hi,

I can't find the migration wizard mentioned in this article https://www.codenameone.com/blog/using-the-new-gui-builder.html I've already searched in Codename One menu, Codename One Settings, and also in the old GUI builder. Can someone please help?

Thanks.
Tom

Shai Almog

unread,
Feb 24, 2017, 1:13:51 AM2/24/17
to CodenameOne Discussions
Hi,
it's available in the old NetBeans preferences UI I'm not sure it made it to Eclipse and it was never mapped in IntelliJ.

You can use it from command line with the designer tool:
https://www.codenameone.com/blog/using-designer-command-line-options.html

The syntax is roughly this:
java designer.jar mig projectDirectoryToMigrate

Tom Tantisalidchai

unread,
Feb 25, 2017, 7:00:18 AM2/25/17
to CodenameOne Discussions
Thanks Shai.

Possibly useful for others, the exact syntax I use on Mac is


  java
-jar /Users/yourname/.codenameone/designer_1.jar mig /path/to/project /path/to/theme.res com.your.destination.package
 

BWC

unread,
Oct 31, 2017, 12:21:32 PM10/31/17
to CodenameOne Discussions
Thanks. is 
/path/to/project  for your old project or the new one?; also /path/to/theme.res -- is it the new or old project?

Shai Almog

unread,
Nov 1, 2017, 1:23:31 AM11/1/17
to CodenameOne Discussions
It doesn't create a new project so you should backup everything. It will migrate everything within the same project.
Reply all
Reply to author
Forward
0 new messages