ant real-clean doesn't clean up fully

Description

With ant real-clean being the strongest clean target, I'd expect it to give me a clean workspace. Not so. Notably the components/components.properties file remains as does the Classpath build tree. This just stopped me building because the paths in components.properties have changed.

This is with my branch. I'll check it on trunk as well soon.

Environment

None

Activity

Show:
GNU/Andrew
February 3, 2008, 7:08 PM

Building trunk and then deleting components/components.properties gives:

BUILD FAILED
/home/andrew/projects/java/classpath/jikesrvm/build.xml:228: The following error occurred while executing this line:
/home/andrew/projects/java/classpath/jikesrvm/build/base.xml:98: Value of classpath.lib.dir property is invalid. (${x86_64-linux.classpath.lib.dir}).

This is without a clean.

DaveG
August 19, 2010, 8:55 AM

Bitten by this, too.

Comparing a fresh checkout with the copied over build directory suggests that only the folders components and target differ. Deleting those should be back
to fresh state...

And yes, I think the build chain leaves much to be desired, when one comes from make + X.

Erik Brangs
August 6, 2011, 4:12 PM

Here is an attempt at a patch. The patch introduces two new targets:
1) a new clean target called cleanest that deletes the components
2) a target called purge that deletes everything

The patch is untested because I did not know how I could properly test it.

DaveG
December 21, 2011, 2:54 PM

Applied Erik's patch in 10406:fd9c1d08fa64.

DaveG
February 9, 2013, 10:49 PM

bulk close of all resolved issues in preparation for 3.1.3 release.

Assignee

DaveG

Reporter

GNU/Andrew

Labels

None

Components

Fix versions

Priority

Low
Configure