Hi, It's perhaps a cray question, but why not... I'ts a question involving the compiler of maven2. I have one Project, with a lot of classes. Some class use another class of the same Project. So they are "classes dependencies". It work's fine. I compile with maven, no problems. Now, if i compile a second time, nothing is compiled ( all classes are up to date). It's also normal.
And now come my question : If a modify a specific class(example: a method) which is used by another class. Only the class which has been modified is compiled, all the others are still "up to date". So the class wich use this method would crash at the execution. So, is there a trick to force the recompilation of the classes which use the modified classes ? And this automatically? (with a plugin, or argument ? ) In fact, what i mean, is like the makefiles under Unix. ( A depends on B, and if B is modified, A is recompiled.. etc) So the aim of this idea, is to perform the compile time, (no 'clean') and to have dependencies-crashes on the compile time, and not while the execution. PS: Sorry for my bad english Cheers, Grej -- View this message in context: http://www.nabble.com/Maven2%2C-class-dependencies-like-%27Makefile%27-tf3281340s177.html#a9127144 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
