From: "Stefan Moebius" <[EMAIL PROTECTED]> > --- Diane Holt <[EMAIL PROTECTED]> wrote: > > --- Stefan Moebius <[EMAIL PROTECTED]> wrote: > > > Just a humble request: > > > Could you support the "-subpackages" option from Javadoc 1.4? > > > The reason is that packagenames ending with ".java" are assumed to > > be > > > single source files since 1.4. This breaks, for example, the > > > Jakarta-Maven javadoc generation. Using "-subpackages > > > package1:package2..." get's this straight. > > > > See: > > http://marc.theaimsgroup.com/?l=ant-user&m=101952493426201&w=2 > > Hi Diane, > Yes, I've considered this and I guess it works. The problem with this > is that you need different build files depending on the JDK version you > use. And although I might use this for myself I don't think the Maven > team would want to stick to this work-around. >
Needing different build files is kind of extreme, don't you think? :-) All what you need is two diferent targets for doing the compile: <target name='compile' depends='compile-1.3, cpmpile-1.4'/> <target name='compile-1.3' unless='using-jdk14'> ... </target> <target name='compile-1.4' if='using-jdk14'> ... </target> This should solve your problem just fine. Jose Alberto -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
