Mike
Mike

Reputation: 5816

Splitting Phing build file

I've got a huge phing build file here. Is there a way to put things like filesets into an external file used by the build.xml? Just need some organisation here.

Upvotes: 2

Views: 612

Answers (1)

timmow
timmow

Reputation: 3625

You can try using the import task, which lets you split a build file into multiple files. You can also look into property files

FileLists also support a listfile property which is a text file with one file per line.

FileSets support the includesfile and excludesfile property which is a text file with a list of patterns.

Upvotes: 1

Related Questions