Hi, FYI, the icu class bug has been reported already : for m2eclipse : http://jira.codehaus.org/browse/MNGECLIPSE-931 for WTP : https://bugs.eclipse.org/bugs/show_bug.cgi?id=216147 for ICU : http://bugs.icu-project.org/trac/ticket/6505
unfortunately, there's not much news about it (the bug is here, what next?). regards, Fred Bricon On Mon, Nov 24, 2008 at 5:53 PM, Eugene Kuleshov <[EMAIL PROTECTED]> wrote: > Connor, > > Thanks for the good investigation work. > > In regards to the first issue, I think it would make sense to submit bug > report to Eclipse WTP, unless there is one already. > > As for the second issue, can you please create jira at > http://jira.codehaus.org/browse/MNGECLIPSE and if you could provide a test > project that would allow us to reproduce it. That would save us some time > for preparing test case. > > regards, > Eugene > > > > Connor Barry wrote: > >> Hi guys, >> >> I'm using the ganymede SR1 release with the latest developer build of >> m2eclipse. Couple things I had to track down: >> >> --------------------------------- >> >> For those experiencing the message "An internal error occurred during: >> Initializing Java Tooling", and the stack trace in your error log: >> java.lang.NullPointerException >> at >> org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.isEJBArchive(JavaEEArchiveUtilities.java:687) >> >> >> You can unzip the jar "icu4j-2.6.1.jar" (the version might be different) >> in your maven repo, remove the offending file: >> com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class and re-zip the jar. >> The problem goes away. No clue why this class has a problem. >> >> --------------------------------- >> >> If you have filtered resources in your maven projects under >> src/main/resources, the maven builder will correctly copy and filter them to >> your target folder (mine is target/ROOT). If you then use the web tools to >> try to deploy your app to a local server, the web tools will NOT copy the >> target/ROOT contents, but will copy only the compiled classes folder. To >> manually fix this (I'm not sure of any GUI way to do it), open the <project >> root>/.settings/ file and observe the following: >> >> <wb-resource deploy-path="/WEB-INF/classes" >> source-path="src/main/resources"/> >> <wb-resource deploy-path="/WEB-INF/classes" >> source-path="/src/main/java"/> >> <wb-resource deploy-path="/WEB-INF/classes" >> source-path="/src/main/resources"/> >> >> Web tools references each wb-resource when copying things to its own >> wtp-xxx server folder. You need to DELETE ALL of these wb-resource >> components, and add a new one like: >> >> <wb-resource deploy-path="/" source-path="/target/ROOT"/> >> >> changing the value of source-path to your target folder. Adding this >> wb-resource without deleting the existing ones doesn't consistently work. >> >> --------------------------------- >> >> Hopefully these will be fixed in the next release of m2eclipse (or wtp?) >> >> Connor >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
