I would expect the error with dist-build since that target doesn't understand there is no text package. I tried to make dist-build-2.1understand there was not a text package but I must have missed something. I'll take a look.
On 5/24/05, Gary Gregory <[EMAIL PROTECTED]> wrote: > > Hello: > > The text package is now causing problems. If I run "ant clean dist-build > test" or "ant clean dist-build-2.1 test" I get: > > test.text: > > [echo] Running text package tests ... > > [java] Class not found "org.apache.commons.lang.text.TextTestSuite" > > BUILD FAILED > > C:\temp\commons-lang-2.1-RC6\build.xml:206: Java returned: 1 > > Gary > > ------------------------------ > > *From:* Steven Caswell [mailto:[EMAIL PROTECTED] > *Sent:* Monday, May 23, 2005 3:28 PM > *To:* Gary Gregory > *Cc:* Jakarta Commons Developers List > *Subject:* Re: [lang] VOTE 2.1 release (new vote based on RC6) > > All, > > I have replaced the RC6 source distributions with new ones containing the > RELEASE-NOTES.txt file. Thanks to Gary for finding the omission. > > On 5/23/05, *Steven Caswell* <[EMAIL PROTECTED] > wrote: > > Gary, > > I suspect building against 1.4.2 and running against 1.2.2 will not work > due to changes in the Java API. The RC binary distribution is in fact build > with 1.2.2, so it may be sufficient just to run the downloaded RC6 against > your 1.2.2 without building from scratch. > > On 5/23/05, *Gary Gregory* < [EMAIL PROTECTED] > wrote: > > As another data point, building with Java 1.3.1_14 ends with the same > error below as with 1.4.2_08: > > BUILD FAILED > > C:\temp\commons-lang-2.1-RC6\build.xml:120: The following error occurred > while executing this line: > > C:\temp\commons-lang-2.1-RC6\build.xml:115: Warning: Could not find file > C:\temp\commons-lang-2.1-RC6\RELEASE-NOTES.txt to copy. > > So I am thinking that there is a bug in Ant 1.6.4 when used with Sun Java > 1.2.2_017. > > If you can fix the missing file problem I can do a local build with 1.3.1or > 1.4.2 but run the test target with 1.2.2. > > Gary > > ------------------------------ > > *From:* Steven Caswell [mailto: [EMAIL PROTECTED] > *Sent:* Monday, May 23, 2005 11:26 AM > > > *To:* Gary Gregory > *Cc:* Jakarta Commons Developers List > *Subject:* Re: [lang] VOTE 2.1 release (new vote based on RC6) > > No, my mistake, I should have looked closer. There is a reference to that > version in the javadoc generation output. So I should ask, any progress on > the 1.2.2 issue? I'm trying to imagine how the source would affect that > and I can't see how it would, at least not at the level you are seeing the > errors. Maybe a cross-pointing between 1.2 and 1.4? > > On 5/23/05, *Gary Gregory* <[EMAIL PROTECTED] > wrote: > > Sorry, I should have been clearer. If by "earlier problem" you mean the > hanging 1.2.2 build, it is not solved. The build below with the missing > RELEASE-NOTES.txt was run with Sun Java 1.4.2_08. > > Gary > > ------------------------------ > > *From:* Steven Caswell [mailto: [EMAIL PROTECTED] > *Sent:* Monday, May 23, 2005 11:14 AM > *To:* Gary Gregory > *Cc:* Jakarta Commons Developers List > *Subject:* Re: [lang] VOTE 2.1 release (new vote based on RC6) > > That seems odd since I used maven to gen the sources. Will take a look. > > Looks like your earlier problem is fixed. > > On 5/23/05, *Gary Gregory* <[EMAIL PROTECTED] > wrote: > > Hello: > > RELEASE-NOTES.txt is missing from: > > http://people.apache.org/~stevencaswell/commons-lang-2.1/distributions/c > <http://people.apache.org/%7Estevencaswell/commons-lang-2.1/distributions/c> > ommons-lang-2.1-RC6-src.zip > > Unzipping the above and running: > > ant clean dist-build-2.1 > > gives the error: > > Buildfile: build.xml > > clean: > [delete] Deleting directory C:\temp\commons-lang-2.1-RC6\target > > dist-build-2.1 : > > clean: > > init: > [echo] -------- commons-lang 2.1-RC6 -------- > > prepare: > [mkdir] Created dir: C:\temp\commons-lang-2.1-RC6\target > [mkdir] Created dir: C:\temp\commons-lang-2.1-RC6\target\classes > [mkdir] Created dir: C:\temp\commons-lang-2.1-RC6\target\conf > [mkdir] Created dir: C:\temp\commons-lang-2.1-RC6\target\tests > > static: > [copy] Copying 1 file to C:\temp\commons-lang-2.1-RC6\target\conf > > compile: > [javac] Compiling 70 source files to > C:\temp\commons-lang-2.1-RC6\target\classes > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\EnumU > tils.java:53: warning: org.apache.commons.lang.enum.Enum in > org.apache.commons.lang.en > um has been deprecated > [javac] public static Enum getEnum(Class enumClass, String name) > { > [javac] ^ > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\Value > dEnum.java:137: warning: org.apache.commons.lang.enum.Enum in > org.apache.commons.lang. > enum has been deprecated > [javac] protected static Enum getEnum(Class enumClass, int > value) { > [javac] ^ > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\EnumU > tils.java:65: warning: org.apache.commons.lang.enum.ValuedEnum in > org.apache.commons.l > ang.enum has been deprecated > [javac] public static ValuedEnum getEnum(Class enumClass, int > value) { > [javac] ^ > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\Enum. > java:335: warning: org.apache.commons.lang.enum.ValuedEnum in > org.apache.commons.lang. > enum has been deprecated > [javac] while (cls != null && cls != Enum.class && cls != > ValuedEnum.class) { > [javac] ^ > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\Enum. > java:484: warning: org.apache.commons.lang.enum.ValuedEnum in > org.apache.commons.lang. > enum has been deprecated > [javac] while (cls != null && cls != Enum.class && cls != > ValuedEnum.class) { > [javac] ^ > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\EnumU > tils.java:54: warning: org.apache.commons.lang.enum.Enum in > org.apache.commons.lang.en > um has been deprecated > [javac] return Enum.getEnum(enumClass, name); > [javac] ^ > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\EnumU > tils.java:66: warning: org.apache.commons.lang.enum.ValuedEnum in > org.apache.commons.l > ang.enum has been deprecated > [javac] return (ValuedEnum) ValuedEnum.getEnum(enumClass, > value); > [javac] ^ > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\EnumU > tils.java:66: warning: org.apache.commons.lang.enum.ValuedEnum in > org.apache.commons.l > ang.enum has been deprecated > [javac] return (ValuedEnum) ValuedEnum.getEnum(enumClass, > value); > [javac] ^ > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\EnumU > tils.java:83: warning: org.apache.commons.lang.enum.Enum in > org.apache.commons.lang.en > um has been deprecated > [javac] return Enum.getEnumMap(enumClass); > [javac] ^ > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\EnumU > tils.java:103: warning: org.apache.commons.lang.enum.Enum in > org.apache.commons.lang.e > num has been deprecated > [javac] return Enum.getEnumList(enumClass); > [javac] ^ > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\EnumU > tils.java :123: warning: org.apache.commons.lang.enum.Enum in > org.apache.commons.lang.e > num has been deprecated > [javac] return Enum.getEnumList(enumClass).iterator(); > [javac] ^ > [javac] > C:\temp\commons-lang-2.1-RC6\src\java\org\apache\commons\lang\enum\Value > dEnum.java:141: warning: org.apache.commons.lang.enum.Enum in > org.apache.commons.lang. > enum has been deprecated > [javac] List list = Enum.getEnumList(enumClass); > [javac] ^ > [javac] 12 warnings > [copy] Copying 9 files to > C:\temp\commons-lang-2.1-RC6\target\classes > > javadoc: > [mkdir] Created dir: C:\temp\commons-lang-2.1-RC6\dist > [mkdir] Created dir: C:\temp\commons- lang-2.1-RC6\dist\docs > [mkdir] Created dir: C:\temp\commons-lang-2.1-RC6\dist\docs\api > [javadoc] Generating Javadoc > [javadoc] Javadoc execution > [javadoc] Loading source files for package org.apache.commons.lang.. . > [javadoc] Loading source files for package > org.apache.commons.lang.builder... > [javadoc] Loading source files for package > org.apache.commons.lang.enum... > [javadoc] Loading source files for package > org.apache.commons.lang.enums... > [javadoc] Loading source files for package > org.apache.commons.lang.exception... > [javadoc] Loading source files for package > org.apache.commons.lang.math... > [javadoc] Loading source files for package > org.apache.commons.lang.mutable... > [javadoc] Loading source files for package > org.apache.commons.lang.time... > [javadoc] Constructing Javadoc information... > [javadoc] Standard Doclet version 1.4.2_08 > [javadoc] Building tree for all the packages and classes... > [javadoc] Building index for all the packages and classes... > [javadoc] Building index for all classes... > > dist: > [copy] Copying 1 file to C:\temp\commons- lang-2.1-RC6\dist > [copy] Copying 1 file to C:\temp\commons-lang-2.1-RC6\dist > > BUILD FAILED > C:\temp\commons-lang-2.1-RC6\build.xml:120: The following error occurred > while executing this line: > C:\temp\commons- lang-2.1-RC6\build.xml:115: Warning: Could not find file > C:\temp\commons-lang-2.1-RC6\RELEASE-NOTES.txt to copy. > > Total time: 54 seconds > C:\temp\commons-lang-2.1-RC6> > > -----Original Message----- > From: Steven Caswell [mailto: [EMAIL PROTECTED] > Sent: Saturday, May 21, 2005 7:39 PM > To: Jakarta Commons Developers List > Subject: [lang] VOTE 2.1 release (new vote based on RC6) > > RC6 is available at > http://www.apache.org/~stevencaswell/commons-lang-2.1<http://www.apache.org/%7Estevencaswell/commons-lang-2.1> > < http://www.apache. > org/%7Estevencaswell/commons-lang-2.1> > > Fixed is the javadoc generation to include the overview and package > notes > (was being omitted due to a bug in the maven javadoc plugin). Also fixed > the > manifest version. As with previous RCs, a test of the distribution > against > Java 1.2 would be greatly appreciated. > > Here is the vote for making this RC the 2.1 release: > > [ ] +1 > [ ] -1 > > > > -- > Steven Caswell > [EMAIL PROTECTED] > > Take back the web - http://www.mozilla.org > > > > > -- > Steven Caswell > [EMAIL PROTECTED] > > Take back the web - http://www.mozilla.org > > > > > -- > Steven Caswell > [EMAIL PROTECTED] > > Take back the web - http://www.mozilla.org > > > > > > -- > > > Steven Caswell > [EMAIL PROTECTED] > > Take back the web - http://www.mozilla.org > > > > > -- > Steven Caswell > [EMAIL PROTECTED] > > Take back the web - http://www.mozilla.org > -- Steven Caswell [EMAIL PROTECTED] Take back the web - http://www.mozilla.org