Whoops. That's absolutely right. hackyCore_Build is now a 'first class'
member of hackystat.build.properties. I'll update the error message to
include what to do ("Please make sure you have downloaded the
hackyCore_Build module and set hackyCore_Build.available=true in your
hackystat.build.properties file.")
Cheers,
Philip
--On Sunday, November 27, 2005 11:42 PM -1000 Aaron Kagawa
<[EMAIL PROTECTED]> wrote:
One thing that I got tripped up by is:
c:\java\svn\hackyCore_Build>ant -q freshStart junitAll
BUILD FAILED
C:\java\svn\hackyCore_Build\modules.build.xml:297: The following error
occurred while executing this line:
C:\java\svn\hackyCore_Build\macros.build.xml:36: hackyCore_Kernel
requires: hack yCore_Build
Total time: 3 seconds
Sending build result to Hackystat server... Done!
c:\java\svn\hackyCore_Build>
Previously, I didn't have the following line in my
hackystat.build.properties:
hackyCore_Build.available=true
So, if you see a error message like that, then add hackyCore_Build to
that properties file.
thanks, aaron
At 08:32 AM 11/27/2005, Philip Johnson wrote:
Greetings, all,
The autoconfig system is now available for testing. To use it, invoke:
ant -f autoconfig.build.xml
This will do two things:
- overwrite your current modules.build.xml file with an automatically
generated one.
- create/overwrite a sample.hackystat.build.properties file in the
parent directory that
contains a hackystat.build.properties file with all discovered modules.
It does this by discovering all the local.build.xml files, parsing them
to find the <module>.required.modules and its property, generating the
dependency tree, topologically sorting it, and then writing out all of
the currently required targets for modules.build.xml. (I think. :-)
A couple of caveats:
- I haven't written the code to check for an out-of-date
modules.build.xml file yet.
- As you play with it, you might inadvertantly commit your
auto-generated version of modules.build.xml. This isn't necessarily
bad, but I've committed a file called orig.modules.build.xml to make it
simpler to recover the manually written version.
Please play with it and let me know if you discover any problems. After
we're confident in it, I'll delete the modules.build.xml file and add
the additional code needed to deal with this.
Cheers,
Philip