Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-04 Thread David Sag
02:25 PM Please respond to "Maven Users List" To Maven Users List cc Subject Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised. For the tests I thought you would be using junit Assert class, so   extend TestCase and keep calling

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-04 Thread Ashley Williams
gt; > > > > i am not sure how I'd check to see what version of Java m2 is > > > > running but my Mac's default Java is > > > > java version "1.4.2_09" > > > > Java(TM) 2 Runtime Environment, Standard Edition (build > > 1.4.2_09-232

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-04 Thread David Sag
> > > Hi Ashley, > > > > > > > > i am not sure how I'd check to see what version of Java m2 is > > > > running but my Mac's default Java is > > > > java version "1.4.2_09" > > > > Java(TM) 2 Runtime Environmen

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-04 Thread Ashley Williams
try to > > run in any earlier version of java. > > > > assert was introduced as part of java 1.4 and this same code built > > fine under maven 1 and ant. It's only now i have migrated to m2 > > that these assert errors are showing up. > > > > I have logged a bug with th

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-04 Thread David Sag
rors are showing up. > > > > I have logged a bug with the maven2 Jira. see http:// > > jira.codehaus.org/browse/MNG-1075 > > > > Kind regards, > > Dave Sag > > > > > > > > > > > > > > > > Ashley Williams <[EMAIL

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-04 Thread Ashley Williams
migrated to m2 that these assert errors are showing up. I have logged a bug with the maven2 Jira. see http:// jira.codehaus.org/browse/MNG-1075 Kind regards, Dave Sag Ashley Williams <[EMAIL PROTECTED]> 03/10/05 04:36 PM Please respond to "Maven Users List" To Maven Users List

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-04 Thread David Sag
with the maven2 Jira. see http://jira.codehaus.org/browse/MNG-1075 Kind regards, Dave Sag   Ashley Williams <[EMAIL PROTECTED]> 03/10/05 04:36 PM Please respond to "Maven Users List" To Maven Users List cc Subject Re: when compiling with m2 using Java 1

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-03 Thread nick . ebbutt
respond to users@maven.apache.org To:users cc: Subject:Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised. Could you check which version of java maven is running in? I haven't been able to reproduce your problem. I'm currently ru

Re: when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-03 Thread Ashley Williams
Could you check which version of java maven is running in? I haven't been able to reproduce your problem. I'm currently running Java 5 on Mac OS X and have used the assert keyword. The only thing I could think of is that you're running maven under jdk1.3, but then I would have expected an 'un

when compiling with m2 using Java 1.4 on Mac OSX asserts are not being recognised.

2005-10-03 Thread David Sag
Hi M2 people, I am evaluating maven 2 and test-porting some small projects over to m2 from ant and m1. I am finding it mostly straightforward but i can't work out how to tell maven2 that i want to enable asserts.  whenever i compile i just get the error cannot resolve symbol symbol  : method as