I can fix the specific issues but am unsure
as how to compile and test ant-embed.

Looking at the code, it appears that TaskDef2 has copied
all the code from it's super class Definer. It may
be better in this case just not to extend Definer.

Alternatively the gump target could build embed-optional
rather than the main target.

Peter

On Fri, 2003-06-27 at 14:01, Nicola Ken Barozzi wrote:
> ----------------------------------------------------
> This email is autogenerated from the output from:
> <http://cvs.apache.org/builds/gump/2003-06-27/ant-embed.html>
> ----------------------------------------------------
> 
> Buildfile: build.xml
> 
> init:
> 
> main-ant15:
>      [echo] Embed is no longer supported with ant1.6. It is only used with 
> ant1.5 ! The dynamic properties work with both, use embed-optional target
>     [javac] Compiling 9 source files to 
> /home/rubys/jakarta/ant/proposal/embed/build/classes
>     [javac] 
> /home/rubys/jakarta/ant/proposal/embed/src/java/org/apache/tools/ant/taskdefs/Taskdef2.java:222:
>  addDefinition(java.lang.ClassLoader,java.lang.String,java.lang.String) in 
> org.apache.tools.ant.taskdefs.Taskdef2 cannot override 
> addDefinition(java.lang.ClassLoader,java.lang.String,java.lang.String) in 
> org.apache.tools.ant.taskdefs.Definer; attempting to assign weaker access 
> privileges; was protected
>     [javac]     private void addDefinition(ClassLoader al, String name, 
> String value)
>     [javac]                  ^
>     [javac] 
> /home/rubys/jakarta/ant/proposal/embed/src/java/org/apache/tools/ant/taskdefs/Taskdef2.java:242:
>  createLoader() in org.apache.tools.ant.taskdefs.Taskdef2 cannot override 
> createLoader() in org.apache.tools.ant.taskdefs.Definer; attempting to assign 
> weaker access privileges; was protected
>     [javac]     private AntClassLoader createLoader() {
>     [javac]                            ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>     [javac] 2 errors
> 
> BUILD FAILED
> /home/rubys/jakarta/ant/proposal/embed/build.xml:37: Compile failed; see the 
> compiler error output for details.
> 
> Total time: 3 seconds
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to