Works for me, but I often find problems incrementally compiling pack200
after commits.  I assume there are some updates that fool the dependency
mechanism.

Try a clean in the pack200 module first.

Regards,
Tim

Egor Pasko wrote:
> $subj for me after updating classlib:
> 
> compile-java:
>      [echo] Compiling PACK200 classes
>     [javac] Compiling 16 source files to 
> /home/pasko/svn/1/trunk/working_classlib/build/classes
>     [javac] Since fork is false, ignoring memoryMaximumSize setting
>     [javac] Compiling 1 source file to 
> /home/pasko/svn/1/trunk/working_classlib/build/classes
>     [javac] Since fork is false, ignoring memoryMaximumSize setting
>     [javac] ----------
>     [javac] 1. ERROR in 
> /home/pasko/svn/1/trunk/working_classlib/modules/pack200/src/main/java5/org/apache/harmony/unpack200/Pack200PackerAdapter.java
>  (at line 42)
>     [javac]     new org.apache.harmony.pack200.Archive(file, out, 
> true).pack();
>     [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     [javac] The constructor Archive(JarFile, OutputStream, boolean) is 
> undefined
>     [javac] ----------
>     [javac] 1 problem (1 error)
> 
> BUILD FAILED
> /home/pasko/svn/1/trunk/working_classlib/build.xml:118: The following error 
> occurred while executing this line:
> /home/pasko/svn/1/trunk/working_classlib/make/build-java.xml:181: The 
> following error occurred while executing this line:
> /home/pasko/svn/1/trunk/working_classlib/make/properties.xml:499: The 
> following error occurred while executing this line:
> /home/pasko/svn/1/trunk/working_classlib/make/properties.xml:511: The 
> following error occurred while executing this line:
> /home/pasko/svn/1/trunk/working_classlib/modules/pack200/build.xml:106: 
> Compile failed; see the compiler error output for details.
> 
> Total time: 1 minute 14 seconds
> 
> did anybody run into this? the strange fact is that one file actually has
> the Archive(JarFile jarFile, OutputStream, boolean) constructor:
> 
> modules/pack200/src/main/java/org/apache/harmony/pack200/Archive.java
> 
> more info: r768700, linux/x86
> 

Reply via email to