ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject building myrmidon
Date Sat, 12 Jan 2002 15:18:16 GMT
Peter,

I wanted to have a look at myrmidon in more detail and went to build it
(using both Ant 1.4.1 and a new bootstrapped from CVS version of Ant
1.5alpha) and I get these errors:

compile:
    [javac] Compiling 79 source files to
C:\jakarta\jakarta-ant\proposal\myrmido
n\build\classes
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\a
nt\taskdefs\optional\net\FTP.java:400: incompatible types
    [javac] found   : java.lang.String
    [javac] required: java.io.File
    [javac]             File file = resolveFile( new File( dir,
filename ).getPa
th() );
    [javac]                                    ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\a
nt\taskdefs\optional\net\FTP.java:698: resolveFile(java.lang.String) in
org.apac
he.tools.ant.taskdefs.optional.net.FTP cannot override
resolveFile(java.lang.Str
ing) in org.apache.myrmidon.api.AbstractTask; overridden method is final
    [javac]     protected String resolveFile( String file )
    [javac]                      ^
    [javac]
C:\jakarta\jakarta-ant\proposal\myrmidon\src\main\org\apache\tools\a
nt\taskdefs\optional\net\FTP.java:725: incompatible types
    [javac] found   : java.lang.String
    [javac] required: java.io.File
    [javac]             File file = resolveFile( new File( dir,
filename ).getPa
th() );
    [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] 3 errors
    [javac] 1 warning

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

Total time: 6 seconds

I'm using build.compiler=modern, in case that matters.

What am I missing or doing wrong?

What I'd like to do is put in XDoclet's JAR file to the lib directory and
add some javadoc comments to some files (probably the converters) and then a
target to the build to generate the an XML descriptor file
(core-ant-descriptor.xml probably) just as a proof-of-concept so that we can
get that functionality plugged in sooner rather than later if it seems an
agreeable way to go.

    Erik



--
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