Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top