Ant build for Intellij-IDEA GUI forms

前端 未结 1 939
失恋的感觉
失恋的感觉 2021-01-13 15:19

I have a project using forms, it compiles and runs just fine, but when compiled with the generated ant it doesn\'t run

my ant file has the j

相关标签:
1条回答
  • 2021-01-13 15:29

    You need to include forms_rt.jar from IDEA_HOME\redist into the classpath of your application, either via manifest or by unpacking the classes from this jar and packaging them together with the final jar of your application.

    When you compile from IDEA, it copies the required classes to the output automatically (it's controlled via an option in Settings | GUI Designer).

    0 讨论(0)
提交回复
热议问题