Gang,

I have looked at the Kaffe instance and its inability to create the Ant 
bootstrap.

The first level of problem is that the Kaffe compiler doesn't imply any source 
files that are not specified, and that results in the immense number of 
"Cannot find class".
Unfortunately, all classes can not be specified either, as that requires 
external dependencies, so I have gone through and class by class added what 
is needed for the bootstrap to succeed this stage (see below). 

I don't know if we should proceed by convincing Ant to introduce this to their 
codebase, or we should maintain a separate bootstrap script.

WDYT?

Cheers
Niclas

P.S.  After this passes, there are other issues further down in the bootstrap 
script, but I haven't worked on those yet.

echo ... Compiling Ant Classes

"${JAVAC}" $BOOTJAVAC_OPTS -d ${CLASSDIR} \
    ${TOOLS}/bzip2/*.java \
    ${TOOLS}/tar/*.java \
    ${TOOLS}/zip/*.java \
    ${TOOLS}/ant/types/*.java \
    ${TOOLS}/ant/*.java \
    ${TOOLS}/ant/taskdefs/*.java \
    ${TOOLS}/ant/taskdefs/compilers/*.java \
    ${TOOLS}/ant/taskdefs/condition/*.java \
    ${TOOLS}/ant/dispatch/DispatchUtils.java \
    ${TOOLS}/ant/dispatch/Dispatchable.java \
    ${TOOLS}/ant/filters/ChainableReader.java \
    ${TOOLS}/ant/filters/ClassConstants.java \
    ${TOOLS}/ant/filters/EscapeUnicode.java \
    ${TOOLS}/ant/filters/ExpandProperties.java \
    ${TOOLS}/ant/filters/HeadFilter.java \
    ${TOOLS}/ant/filters/LineContains.java \
    ${TOOLS}/ant/filters/LineContainsRegExp.java \
    ${TOOLS}/ant/filters/PrefixLines.java \
    ${TOOLS}/ant/filters/ReplaceTokens.java \
    ${TOOLS}/ant/filters/StripJavaComments.java \
    ${TOOLS}/ant/filters/StripLineBreaks.java \
    ${TOOLS}/ant/filters/StripLineComments.java \
    ${TOOLS}/ant/filters/TabsToSpaces.java \
    ${TOOLS}/ant/filters/TailFilter.java \
    ${TOOLS}/ant/filters/TokenFilter.java \
    ${TOOLS}/ant/filters/util/ChainReaderHelper.java \
    ${TOOLS}/ant/helper/DefaultExecutor.java \
    ${TOOLS}/ant/helper/KeepGoingExecutor.java \
    ${TOOLS}/ant/helper/ProjectHelper2.java \
    ${TOOLS}/ant/helper/ProjectHelperImpl.java \
    ${TOOLS}/ant/helper/SingleCheckExecutor.java \
    ${TOOLS}/ant/input/DefaultInputHandler.java \
    ${TOOLS}/ant/input/InputHandler.java \
    ${TOOLS}/ant/input/InputRequest.java \
    ${TOOLS}/ant/input/MultipleChoiceInputRequest.java \
    ${TOOLS}/ant/launch/AntMain.java \
    ${TOOLS}/ant/taskdefs/email/EmailTask.java \
    ${TOOLS}/ant/taskdefs/email/Mailer.java \
    ${TOOLS}/ant/taskdefs/email/PlainMailer.java \
    ${TOOLS}/mail/MailMessage.java \
    ${TOOLS}/mail/ErrorInQuitException.java \
    ${TOOLS}/mail/SmtpResponseReader.java \
    ${TOOLS}/ant/taskdefs/rmic/KaffeRmic.java \
    ${TOOLS}/ant/taskdefs/rmic/ForkingSunRmic.java \
    ${TOOLS}/ant/taskdefs/rmic/WLRmic.java \
    ${TOOLS}/ant/taskdefs/rmic/SunRmic.java \
    ${TOOLS}/ant/taskdefs/rmic/RmicAdapter.java \
    ${TOOLS}/ant/taskdefs/rmic/RmicAdapterFactory.java \
    ${TOOLS}/ant/types/selectors/AndSelector.java \
    ${TOOLS}/ant/types/selectors/ContainsRegexpSelector.java \
    ${TOOLS}/ant/types/selectors/ContainsSelector.java \
    ${TOOLS}/ant/types/selectors/DateSelector.java \
    ${TOOLS}/ant/types/selectors/DependSelector.java \
    ${TOOLS}/ant/types/selectors/DepthSelector.java \
    ${TOOLS}/ant/types/selectors/DifferentSelector.java \
    ${TOOLS}/ant/types/selectors/ExtendSelector.java \
    ${TOOLS}/ant/types/selectors/ExtendFileSelector.java \
    ${TOOLS}/ant/types/selectors/FileSelector.java \
    ${TOOLS}/ant/types/selectors/FilenameSelector.java \
    ${TOOLS}/ant/types/selectors/MajoritySelector.java \
    ${TOOLS}/ant/types/selectors/NoneSelector.java \
    ${TOOLS}/ant/types/selectors/NotSelector.java \
    ${TOOLS}/ant/types/selectors/OrSelector.java \
    ${TOOLS}/ant/types/selectors/PresentSelector.java \
    ${TOOLS}/ant/types/selectors/SelectSelector.java \
    ${TOOLS}/ant/types/selectors/SelectorContainer.java \
    ${TOOLS}/ant/types/selectors/SelectorScanner.java \
    ${TOOLS}/ant/types/selectors/SelectorUtils.java \
    ${TOOLS}/ant/types/selectors/SizeSelector.java \
    ${TOOLS}/ant/types/selectors/TypeSelector.java \
    ${TOOLS}/ant/types/selectors/modifiedselector/ModifiedSelector.java \
    ${TOOLS}/ant/types/selectors/modifiedselector/Algorithm.java \
    ${TOOLS}/ant/types/selectors/modifiedselector/PropertiesfileCache.java \
    ${TOOLS}/ant/types/selectors/modifiedselector/DigestAlgorithm.java \
    ${TOOLS}/ant/types/selectors/modifiedselector/EqualComparator.java \
    ${TOOLS}/ant/types/selectors/modifiedselector/HashvalueAlgorithm.java \
    ${TOOLS}/ant/types/selectors/modifiedselector/ChecksumAlgorithm.java \
    ${TOOLS}/ant/util/ClasspathUtils.java \
    ${TOOLS}/ant/util/CollectionUtils.java \
    ${TOOLS}/ant/util/CompositeMapper.java \
    ${TOOLS}/ant/util/ConcatFileInputStream.java \
    ${TOOLS}/ant/util/ContainerMapper.java \
    ${TOOLS}/ant/util/DOMElementWriter.java \
    ${TOOLS}/ant/util/DateUtils.java \
    ${TOOLS}/ant/util/FileNameMapper.java \
    ${TOOLS}/ant/util/FileUtils.java \
    ${TOOLS}/ant/util/FlatFileNameMapper.java \
    ${TOOLS}/ant/util/GlobPatternMapper.java \
    ${TOOLS}/ant/util/IdentityMapper.java \
    ${TOOLS}/ant/util/JAXPUtils.java \
    ${TOOLS}/ant/util/JavaEnvUtils.java \
    ${TOOLS}/ant/util/KeepAliveOutputStream.java \
    ${TOOLS}/ant/util/LazyFileOutputStream.java \
    ${TOOLS}/ant/util/LeadPipeInputStream.java \
    ${TOOLS}/ant/util/LoaderUtils.java \
    ${TOOLS}/ant/util/MergingMapper.java \
    ${TOOLS}/ant/util/OutputStreamFunneler.java \
    ${TOOLS}/ant/util/ReaderInputStream.java \
    ${TOOLS}/ant/util/ResourceUtils.java \
    ${TOOLS}/ant/util/SourceFileScanner.java \
    ${TOOLS}/ant/util/StringUtils.java \
    ${TOOLS}/ant/util/TeeOutputStream.java \
    ${TOOLS}/ant/util/TimeoutObserver.java \
    ${TOOLS}/ant/util/Watchdog.java \
    ${TOOLS}/ant/util/facade/FacadeTaskHelper.java \
    ${TOOLS}/ant/util/facade/ImplementationSpecificArgument.java \
    ${TOOLS}/ant/util/regexp/Regexp.java \
    ${TOOLS}/ant/util/regexp/RegexpFactory.java \
    ${TOOLS}/ant/util/regexp/RegexpMatcher.java \
    ${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java \
    ${TOOLS}/ant/filters/BaseFilterReader.java \
    ${TOOLS}/ant/filters/BaseFilterReader.java \
    ${TOOLS}/ant/filters/BaseParamFilterReader.java \
    ${TOOLS}/ant/util/LineTokenizer.java \
    ${TOOLS}/ant/util/Tokenizer.java \
    ${TOOLS}/ant/util/KeepAliveInputStream.java \
    ${TOOLS}/ant/taskdefs/rmic/DefaultRmicAdapter.java \
    ${TOOLS}/ant/types/selectors/BaseExtendSelector.java \
    ${TOOLS}/ant/types/selectors/BaseExtendSelector.java \
    ${TOOLS}/ant/types/selectors/BaseSelector.java \
    ${TOOLS}/ant/types/selectors/BaseSelectorContainer.java \
    ${TOOLS}/ant/types/selectors/MappingSelector.java \
    ${TOOLS}/ant/helper/AntXMLContext.java \
    ${TOOLS}/ant/taskdefs/email/Message.java \
    ${TOOLS}/ant/taskdefs/email/EmailAddress.java \
    ${TOOLS}/ant/types/selectors/modifiedselector/Cache.java \
    ${TOOLS}/ant/launch/Locator.java

-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


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

Reply via email to