Re: AW: Build Problem HOJ
Raoul Pierre <[email protected]> Wed, 31 Aug 2005 18:11:34 +0200
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
Change to wrapper XpathUtil commited. does anybody can test it with Java 1.5? Pierre Sasvata (Shash) Chatterjee a écrit : > Guys, > > The XPath problem is something I ran into this weekend as well. I bet > you are using JDK-1.5. If you go back to JDK-1.4.2, this will work fine. > > Raoul, I was going to mention this to you, but forgot. IIRC, > somewhere in keel-common, Aleks put a wrapper class that works for > XPath that works in both JDK-1.4 and JDK-1.5. Can you look at > changing MessageSupport so it is compatible for both? > > Shash > > Uta Kapp wrote: > >> Hi Raj, >> >> I tried to do a maven jar:install on keel-common and got the same >> error. This seems to be a new problem. >> Although the missing library xalan-2.3.1.jar is downloaded >> successfully, it still gives an error. >> I solved by adding a dependency to project.xml in keel-common: >> >> <dependency> >> >> <groupId>xalan</groupId> >> >> <artifactId>xalan</artifactId> >> >> <version>2.3.1</version> >> >> <type>jar</type> >> >> <properties> >> >> <war.bundle>true</war.bundle> >> >> <keel.client>true</keel.client> >> >> </properties> >> >> </dependency> >> >> This made maven jar:install work successfully. >> >> Uta >> >> >> >> -----Ursprüngliche Nachricht----- >> *Von:* keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org >> [mailto:keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org]*Im >> Auftrag von *Raj Joshi >> *Gesendet:* Dienstag, 30. August 2005 19:11 >> *An:* developers-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected] >> *Betreff:* Re: [Keelgroup] Build Problem HOJ >> >> Ok. I fetched fresh copy of entire keel project from CVS. >> went smoothly until the command: >> maven -Dgoal=jar:install multiproject:goal >> errors out with: >> multiproject:goal: >> build:start: >> >> java:prepare-filesystem: >> [mkdir] Created dir: C:\keel\keel-common\target\classes >> >> java:compile: >> [echo] Compiling to C:\keel\keel-common/target/classes >> [javac] Compiling 32 source files to >> C:\keel\keel-common\target\classes >> >> C:\keel\keel-common\src\java\org\keel\util\i18n\DynamicMessageSupport.java:35: >> >> p >> ackage org.apache.xpath does not exist >> import org.apache.xpath.XPathAPI; >> ^ >> >> C:\keel\keel-common\src\java\org\keel\util\i18n\DynamicMessageSupport.java:529: >> >> cannot find symbol >> symbol : variable XPathAPI >> location: class org.keel.util.i18n.DynamicMessageSupport >> NodeList resourcesList = XPathAPI.selectNodeList(doc, >> ALL_RESOURCES) >> ; >> ^ >> 2 errors >> >> BUILD FAILED >> File...... C:\Documents and >> Settings\U743937\.maven\cache\maven-multiproject-plu >> gin-1.3.1\plugin.jelly >> Element... maven:reactor >> Line...... 217 >> Column.... 9 >> Unable to obtain goal [java:compile] -- C:\Documents and >> Settings\U743937\.maven >> \cache\maven-java-plugin-1.5\plugin.jelly:63:48: <ant:javac> >> Compile failed; see >> the compiler error output for details. >> Total time: 10 seconds >> Finished at: Tue Aug 30 12:32:41 EDT 2005 >> >> -raj >> > > > http://keelframework.org/documentation.shtml > Keelgroup mailing list > [email protected] > http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com > > > http://keelframework.org/documentation.shtml Keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com