generating source code with UI designer...

I need to build my ui project (and therefore my UI forms) on a differerent machine that builds the project via ant. I've searched the forums but all the posts are out of date. They seem to refer to the time when UI Designer was a plugin rather than the first class citizen it is now. Is there a current ant task that I can use to compile the forms?

In order to get around this issue I thought I might generate the source code from the forms and simply compile them the regular way. However, when I generated source code from the ui forms I ended up with a bunch of intellij classes that aren't found in the classpath such as "com.intellij.uiDesigner.core.Spacer", that were all marked in red in the editor.

the resulting gui app will be distributed to customers so I don't want to ship intellij jars to them as part of the package, even if I knew which jar(s) to include.

Any help will be much appreciated...

1 comment
Comment actions Permalink

alan brown wrote:

I need to build my ui project (and therefore my UI forms) on a differerent machine that builds the project via ant. I've searched the forums but all the posts are out of date. They seem to refer to the time when UI Designer was a plugin rather than the first class citizen it is now. Is there a current ant task that I can use to compile the forms?

In order to get around this issue I thought I might generate the source code from the forms and simply compile them the regular way. However, when I generated source code from the ui forms I ended up with a bunch of intellij classes that aren't found in the classpath such as "com.intellij.uiDesigner.core.Spacer", that were all marked in red in the editor.

the resulting gui app will be distributed to customers so I don't want to ship intellij jars to them as part of the package, even if I knew which jar(s) to include.

Any help will be much appreciated...

javac2 from redist folder. forms_rt.jar includes layout classes which
may be included in your own jars if you'd like.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.