Diego Tognola
2008-11-13 10:40:07 UTC
Hi,
playing around a little bit more with this, I do have a question, however.
Let's assume I have:
MTJ project 'AntennaTestInternal'
MTJ project 'AntennaTest' which depends on AntennaTestInternal and exports it
in its Java Build Path.
Now if I export the Antenna build files for each and then run ant
in 'AntennaTestInternal' first, then the build succeeds and all is peachy.
But if I then run ant in 'AntennaTest', the classpath is missing the class(es)
from 'AntennaTestInternal', build fails.
Now obviously I can go and fix this in the generated build files (I am more
familiar with Ant than I like) but here's my question:
-> What is the preferred/designed/intended way of sharing dependent classes in
this case, via the build/classes directory which gets created or via the
jars ?
I noticed that the classpath for 'AntennaTestInternal' is actually defined in
AntennaTest/mtj-build.xml, but has an incorrect value. So maybe this is a
tiny bug ?
I hope I am making sense here ;-/
Diego
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
playing around a little bit more with this, I do have a question, however.
Let's assume I have:
MTJ project 'AntennaTestInternal'
MTJ project 'AntennaTest' which depends on AntennaTestInternal and exports it
in its Java Build Path.
Now if I export the Antenna build files for each and then run ant
in 'AntennaTestInternal' first, then the build succeeds and all is peachy.
But if I then run ant in 'AntennaTest', the classpath is missing the class(es)
from 'AntennaTestInternal', build fails.
Now obviously I can go and fix this in the generated build files (I am more
familiar with Ant than I like) but here's my question:
-> What is the preferred/designed/intended way of sharing dependent classes in
this case, via the build/classes directory which gets created or via the
jars ?
I noticed that the classpath for 'AntennaTestInternal' is actually defined in
AntennaTest/mtj-build.xml, but has an incorrect value. So maybe this is a
tiny bug ?
I hope I am making sense here ;-/
Diego
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/