not possible to run andromda ant task more then once

Description

Attempt to execute andromeda ant task multiple times (in a single ant build file) fails duo to the classloader problem.

The simple fix that worked for me was to move the context class loader initialization form the static section to the beginning of the execute() method of the org.andromda.core.anttasks.AndroMDAGenTask class.

There is no easy workaround to my knowledge, except maybe to spawn a separate instance of the ant for each andromeda task.

Environment

Windows

Assignee

Former user

Reporter

s

Labels

None

Priority

Major
Configure