Maven 2 bug @ throw new

2007-10-22 Thread Mirko Adari

We have two child modules where first one is a dependency of first one.
We are getting compilation error . cannot find symbol when compiling code
in second module which relates to AppException in first module.
The bug is that this line:  
throw new AppException("cannot find PaperStruct for id: " + 
getTransactionArea());

gives us error and is indicated as error in mevenIDE in netbeans.
where this line next to first one is not indicated as a Error.  
new AppException();


You can use AppException everywhere but not in throw clause.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven 2 bug @ throw new

2007-10-22 Thread Mirko Adari

We have two child modules where first one is a dependency of first one.
We are getting compilation error . cannot find symbol when compiling code
in second module which relates to AppException in first module.
The bug is that this line:
throw new AppException("cannot find PaperStruct for id: " +
getTransactionArea());
gives us error and is indicated as error in mevenIDE in netbeans.
where this line next to first one is not indicated as a Error.
new AppException();

You can use AppException everywhere but not in throw clause.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]