J�rn Gebhardt wrote on Tuesday, March 09, 2004 2:25 PM: > Hi, > > is there a way, to insert the content of a file into a > project.xml? E.g. if you have many subproject and most of > them have the same dependencies I would like to write these > files into a default_dependencies.xml file and include this > file into the project.xml files of the subprojects. > > In Ant you can insert the content of a another file (e.g. > 'default.targets') like this: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE project [ > <!ENTITY DefaultTargets SYSTEM "default.targets"> %DefaultTargets; > ]> > <project basedir="." default="build" name="standard" > ... > &DefaultTargets; > ... > </project> > > Is something like this possible in Maven?
Yes, it is. I am using this extensivly :) Regards, J�rg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
