hi! I have a strange problem while i'm working with my new maven app. I'll
try to explain it:

I move the sorces (.java) from an old "web" project to the new one Maven
project. All was correct. All the source files seems to compile and generate
the corresponding .class files. But it isn't true at all.
When I look at the compiled sources, I saw that some properties added from
the new version of my source code doesn't appear in the compiled code.

For example, in the first version I have 3 properties in my class

package com.package;

public class MyClass {
  private String propOne;
  private String propTwo;
  private String propThree;

  // getters and setters
  .....
}

and the .class file description seems like that:

public class com.package.MyClass {
  private java.lang.String propOne;
  private java.lang.String propTwo;
  private java.lang.String propThree;

  // getters and setters
  ........
}

All is correct here. Now I move the new MyClass.java from the old project to
the new one and the java source now it's like that:

package com.package;

public class MyClass {
  private String propOne;
  private String propTwo;
  private String propThree;
  
  private String newProp;

  // getters and setters
  .....
}

but the .class source description REMAINS IDENTICALLY!!!!!!!!!!!!! The
compiler seems to be blind in front of all the modifications I do to the new
code. I'm a little bit desperate in front of that.

Can anyone help me, please??

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/Problem-compiling-files-tf4060938s177.html#a11537375
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to