A DAILY Build Practical Model

xiaoxiao2021-03-06  68

Daily Build includes a wide range, such as source code control, Daily Build host settings, Ant's use, task counseling

Plan, continuous integration, etc. This article does not intend to discuss this, but only a DAILY Build utility model.

Assuming our project name as Project, directory D: / project subsystem project1, directory d: / project / project1 subsystem project2, directory D: / project / project2 subsystem Project3, directory D: / project / project3 three subsystems The JAR package used should be the same, all in the D: / Project / Lib directory

In D: / Project, there is a file buildmagic.ent, content and analysis as follows: build.properties Used to specify the main program

Take it below all jar package Below is the compiled process, the destination directory is bin directory running system for testing

D: / Project / Project1 There is a SRC directory, store the source code of this subsystem D: / project / project1 has a file build.properties, the content is as follows: main = org.hongsoft.test.MAIND: / PROJECT / There is a file build.xml in the Project1 directory, the content is as follows: > "Project Name = "Project1 "BaseDir =". "DEFAULT =" Run "> & Buildmagic; Basically, all projects can use this model to implement Daily Build, worthy of our reference.

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

New Post(0)