The use of Ant in JBuilder 9

xiaoxiao2021-03-06  86

1. Create project and application a

2. Create an ANT used build.xml file, place it in the root of the project.

<----- Set the properties of Ant ------->

3. Right-click the build.xml node in the engineering window, select the Properties command from the shortcut menu pop-up, and then click the Ant tab on the dialog, the ANT tab will pop up.

4. Drag Log Level with mouse to change from Normal to Verbose, which increases more output.

5. Click the Add button to increasing the New Properties dialog box, select Build in the Name drop-down list, enter Test in the Value text box.

6. In the New Properties Add dialog box, click OK to return to the Properties Settings dialog box, and then click OK to complete the addition of new properties.

<----- Set Ant as an engineering compilation Default selection ------->

7. Select the Project | Clean command, clearly the created ANT directory, including .class files and TEST directories.

8. Right-click the ANTProject.jpx node in the engineering window, select the Clean command from the shortcut menu that pops, which will clearly jBUILDER's CLASSES directory and directory generated after the source program. Class file.

9. Right-click the build.xml node in the engineering window, select the Properties command from the pop-up shortcut menu to open the ANT property settings dialog, open the ANT tab, select the Always Run Ant When Building Project check box.

10. Click the OK button to complete the settings.

11. Select the Project | make Project "AntProject.jpx" command, compile the project.

转载请注明原文地址:https://www.9cbs.com/read-104830.html

New Post(0)