Ant build for UI forms compilation

I'm not sure if it's a right forum, so please redirect me to correct one if it's not.

I want to use Ant build in my IDEA project which includes UI forms. I launch "Generate Ant Build" with "Enable UI forms compilation" option checked and .xml file creates successfuly. The problem is that if I compile the project by generated Ant, UI core classes not created (files in com\intellij\uiDesigner\core)

Please advice,
Tanya



Attachment(s):
build.xml
2 comments
Comment actions Permalink

Hello Tanya,

T> I want to use Ant build in my IDEA project which includes UI forms. I
T> launch "Generate Ant Build" with "Enable UI forms compilation" option
T> checked and .xml file creates successfuly. The problem is that if I
T> compile the project by generated Ant, UI core classes not created
T> (files in com\intellij\uiDesigner\core)

You must add bcel.jar and javac2.jar to ANT classpath in Properties of ANT
script.

Thanks!
--
Alexey Efimov, Java Developer
Tops BI
http://www.topsbi.ru

0
Comment actions Permalink

Hello Tanya,

I want to use Ant build in my IDEA project which includes UI forms. I
launch "Generate Ant Build" with "Enable UI forms compilation" option
checked and .xml file creates successfuly. The problem is that if I
compile the project by generated Ant, UI core classes not created
(files in com\intellij\uiDesigner\core)


You have to either unpack the forms_rt.jar file into the output path manually
or add it to the classpath of your application.
This file is located in IDEA_HOME\redist directory.

--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.