On 05/03/2010 14:29, Scott Wilson wrote:
I made some changes to the parser sub-project code, however whenever I
run Wookie with "ant clean-db run" the updated parser code isn't used -
is there anything I should do to ensure that Wookie runs with the latest
snapshot of sub-project jars rather than an earlier cached version?

What is your current workflow?

If you:

- edit a subproject
- "ant publish-local" in the subproject
- "ant clean-db run" (see NOTE 1)

You will (should?) be running with the latest snapshot.

We could force the publish-local step from the core build script, but forcing a compilation of all sub-projects just to run Wookie adds an unnecessary step to the process. If we do add it then I would want it to be configurable from local.build.properties

In most IDEs you can add the publish-local step to the standard build process of the IDE and thus remove the need to manually publish.

Ross

NOTE did you notice that clean-db is no longer necessary if you set "initDB=false" in the local.build.properties. Now you only need to do clean-db if you want to start from a fresh install.

Reply via email to