ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: building myrmidon
Date Sun, 13 Jan 2002 01:19:50 GMT
----- Original Message -----
From: "Peter Donald" <peter@apache.org>

> Holly crap is xdoclet slow !! We will definetly need to fix that before we
> convert everything to using it. It seems much slower than standard javadoc
so
> I believe it is something we can fix.

Also, <uptodate> would do the trick for incremental builds.  Also, we can
narrow the <fileset> it uses to constrain it for each template we want to
generate.

> > Thoughts?  Seem like a decent way to embed the metadata into the Java
files
> > and generate the other artifacts?
>
> +100000 and then some ;)

Wow... finally I do something worthy of Peter's approval!  :))

(maybe he's so happy now he won't notice me slipping in the patch to
Ant1.x's IntrospectionHelper :))

> Aswell as integrating metadata I would love to see the
manual/docs/taskX.html
> go away and be automagically generated from docs in the java files. So we
> could add class documentation == user documentation and so forth.

Shouldn't be a problem - just a matter of coming up with our tag
conventions.

> One thing we need to be careful of is that the same "data item" can either
be
> gotten from a element or an attribute. So you could specify classpath as
an
> attribute or as a nested element. So instead of documenting both the
setter
> and the adder we could instead document the instance variable (ie
attribute
> we use to store it) and have xdoclet directives that tell you where to
pick
> up the "real" documentation and stuff. Thoughts?

XDoclet won't have a problem pulling data from instance variable comments.
I'm not sure how it would handle being flexible and pulling them from either
a setter or an instance variable, but I'm sure it could even handle that
scenario somehow.

> It is proably because you have files in ant/lib I don't have. Just tell me
> which ones don't build and usually I can fix them easily enough. I have
fixed
> the ftp/telnet compilation problems tell me if you have anymore.

Ok, here's the latest (sorry for the wrapping from cut-n-paste):

compile:
    [mkdir] Created dir: C:\jakarta\jakarta-ant\proposal\myrmidon\build\src
     [copy] Copying 1 file to
C:\jakarta\jakarta-ant\proposal\myrmidon\build\src
\org\apache\myrmidon
    [mkdir] Created dir:
C:\jakarta\jakarta-ant\proposal\myrmidon\build\classes
    [javac] Compiling 393 source files to
C:\jakarta\jakarta-ant\proposal\myrmid
on\build\classes
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\a
nt\taskdefs\file\FilteringInputStream.java:22: class SubstInputStream is
public,
 should be declared in a file named SubstInputStream.java
    [javac] public class SubstInputStream
    [javac]        ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\java\org\apache\antlib\
xml\XMLValidateTask.java:30: warning: org.xml.sax.Parser in org.xml.sax has
been
 deprecated
    [javac] import org.xml.sax.Parser;
    [javac]                    ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\java\org\apache\myrmido
n\frontends\CLIMain.java:31: warning:
org.apache.log.output.DefaultOutputLogTarg
et in org.apache.log.output has been deprecated
    [javac] import org.apache.log.output.DefaultOutputLogTarget;
    [javac]                              ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\a
nt\taskdefs\optional\ejb\DescriptorHandler.java:20: warning:
org.xml.sax.Attribu
teList in org.xml.sax has been deprecated
    [javac] import org.xml.sax.AttributeList;
    [javac]                    ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\a
nt\taskdefs\optional\ejb\DescriptorHandler.java:35: warning:
org.xml.sax.Handler
Base in org.xml.sax has been deprecated
    [javac]     extends org.xml.sax.HandlerBase
    [javac]                        ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\a
nt\taskdefs\optional\ejb\DescriptorHandler.java:346: warning:
org.xml.sax.Attrib
uteList in org.xml.sax has been deprecated
    [javac]     public void startElement( String name, AttributeList attrs )
    [javac]                                            ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\java\org\apache\antlib\
xml\XMLValidateTask.java:353: warning: org.xml.sax.Parser in org.xml.sax has
bee
n deprecated
    [javac]                 if( Parser.class.isAssignableFrom(
readerClass ) )
    [javac]                     ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\java\org\apache\antlib\
xml\XMLValidateTask.java:355: warning: org.xml.sax.Parser in org.xml.sax has
bee
n deprecated
    [javac]                     Parser parser =
(Parser)readerClass.newInstance(
);
    [javac]                     ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\java\org\apache\antlib\
xml\XMLValidateTask.java:355: warning: org.xml.sax.Parser in org.xml.sax has
bee
n deprecated
    [javac]                     Parser parser =
(Parser)readerClass.newInstance(
);
    [javac]                                      ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\java\org\apache\myrmido
n\components\builder\DefaultProjectBuilder.java:367: warning:
splitString(java.l
ang.String,java.lang.String) in org.apache.avalon.framework.ExceptionUtil
has be
en deprecated
    [javac]             final String[] elements =
ExceptionUtil.splitString( dep
ends, "," );
    [javac]                                                    ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\java\org\apache\myrmido
n\frontends\CLIMain.java:460: warning:
org.apache.log.output.DefaultOutputLogTar
get in org.apache.log.output has been deprecated
    [javac]         final DefaultOutputLogTarget target = new
DefaultOutputLogTa
rget();
    [javac]               ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\java\org\apache\myrmido
n\frontends\CLIMain.java:460: warning:
org.apache.log.output.DefaultOutputLogTar
get in org.apache.log.output has been deprecated
    [javac]         final DefaultOutputLogTarget target = new
DefaultOutputLogTa
rget();
    [javac]                                                   ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\java\org\apache\myrmido
n\frontends\CLIMain.java:461: warning: setFormat(java.lang.String) in
org.apache
.log.output.DefaultOutputLogTarget has been deprecated
    [javac]         target.setFormat( "[%8.8{category}]
%{message}\\n%{throwable
}" );
    [javac]               ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\z
ip\ZipOutputStream.java:213: warning: getYear() in java.util.Date has been
depre
cated
    [javac]         int year = time.getYear() + 1900;
    [javac]                        ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\z
ip\ZipOutputStream.java:214: warning: getMonth() in java.util.Date has been
depr
ecated
    [javac]         int month = time.getMonth() + 1;
    [javac]                         ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\z
ip\ZipOutputStream.java:221: warning: getDate() in java.util.Date has been
depre
cated
    [javac]             | ( time.getDate() << 16 )
    [javac]                     ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\z
ip\ZipOutputStream.java:222: warning: getHours() in java.util.Date has been
depr
ecated
    [javac]             | ( time.getHours() << 11 )
    [javac]                     ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\z
ip\ZipOutputStream.java:223: warning: getMinutes() in java.util.Date has
been de
precated
    [javac]             | ( time.getMinutes() << 5 )
    [javac]                     ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\z
ip\ZipOutputStream.java:224: warning: getSeconds() in java.util.Date has
been de
precated
    [javac]             | ( time.getSeconds() >> 1 );
    [javac]                     ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\a
nt\taskdefs\optional\ejb\DescriptorHandler.java:346: warning:
org.xml.sax.Attrib
uteList in org.xml.sax has been deprecated
    [javac]     public void startElement( String name, AttributeList attrs )
    [javac]                                            ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\a
nt\taskdefs\optional\junit\JUnitTask.java:636: warning:
save(java.io.OutputStrea
m,java.lang.String) in java.util.Properties has been deprecated
    [javac]             props.save( outstream, "Ant JUnitTask generated
properti
es file" );
    [javac]                  ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\a
nt\taskdefs\optional\PropertyFile.java:262: warning:
save(java.io.OutputStream,j
ava.lang.String) in java.util.Properties has been deprecated
    [javac]             m_properties.save( bos, m_comment );
    [javac]                         ^
    [javac] 1 error
    [javac] 21 warnings

BUILD FAILED
C:\jakarta\jakarta-ant\proposal\myrmidon\build.xml:198: Compile failed,
messages
 should have been provided.

Total time: 13 seconds


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message