Re: Errors compiling JMS 0.7.7
Daniel Otero <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
I would try a clean build. That is, try 'maven clean' at the top level and then 'cd modules\jms' and 'maven clean' there (just for good measure) and then cd back to the top level and try building again. BTW, Rahul, he was just saying thanks. D. On May 25, 2005, at 11:46 AM, [email protected] wrote: > Hi, > > Muchas gracias Daniel! > > I tried your recommndations and I went forward one step, but I > continue having some errors (se below) > > > ============================================================== > F:\DESARROLLO\OPENJMS\openjms>maven -Dmaven.test.skip - > Dmaven.castor.fork > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0.2 > > Starting the reactor... > Our processing order: > OpenJMS: Proxy Generator plugin > +---------------------------------------- > | Installing proxygen plugin OpenJMS: Proxy Generator plugin > | Memory: 4M/5M > +---------------------------------------- > build:start: > > o:build: > multiproject:install: > build:start: > > plugin:plugin: > java:prepare-filesystem: > > java:compile: > [echo] Compiling to F:\DESARROLLO\OPENJMS\openjms\modules > \proxygen-plugin/ta > rget/classes > > java:jar-resources: > > test:prepare-filesystem: > > test:test-resources: > > test:compile: > [echo] No test source files to compile. > > test:test: > [echo] No tests to run. > > jar:jar: > > > plugin:install-now: > [delete] Deleting 1 files from C:\WINNT\Profiles\EdiLocal\.maven > \plugins > [delete] Deleting 16 files from C:\WINNT\Profiles\EdiLocal\.maven > \cache > [delete] Deleted 7 directories from C:\WINNT\Profiles\EdiLocal > \.maven\cache > > build:end: > > multiproject:projects-init: > [echo] Gathering project list > Starting the reactor... > Our processing order: > OpenJMS: Common > OpenJMS: HTTP tunnel > OpenJMS: Network > OpenJMS: JMS > OpenJMS: Examples > OpenJMS: Tools > +---------------------------------------- > | Gathering project list OpenJMS: Common > | Memory: 6M/8M > +---------------------------------------- > +---------------------------------------- > | Gathering project list OpenJMS: HTTP tunnel > | Memory: 6M/8M > +---------------------------------------- > +---------------------------------------- > | Gathering project list OpenJMS: Network > | Memory: 6M/8M > +---------------------------------------- > +---------------------------------------- > | Gathering project list OpenJMS: JMS > | Memory: 6M/8M > +---------------------------------------- > +---------------------------------------- > | Gathering project list OpenJMS: Examples > | Memory: 6M/8M > +---------------------------------------- > +---------------------------------------- > | Gathering project list OpenJMS: Tools > | Memory: 6M/8M > +---------------------------------------- > Starting the reactor... > Our processing order: > OpenJMS: Common > OpenJMS: HTTP tunnel > OpenJMS: Network > OpenJMS: JMS > OpenJMS: Examples > OpenJMS: Tools > +---------------------------------------- > | Executing multiproject:install-callback OpenJMS: Common > | Memory: 6M/8M > +---------------------------------------- > > multiproject:goal: > build:start: > > multiproject:install-callback: > [echo] Running jar:install for OpenJMS: Common > java:prepare-filesystem: > > java:compile: > [echo] Compiling to F:\DESARROLLO\OPENJMS\openjms\modules\common/ > target/clas > ses > Copying: from 'F:\DESARROLLO\OPENJMS\openjms\modules\common\target > \openjms-commo > n-0.7.7-dev.jar' to: 'C:\WINNT\Profiles\EdiLocal\.maven\repository > \openjms\jars\ > openjms-common-0.7.7-dev.jar' > Copying: from 'F:\DESARROLLO\OPENJMS\openjms\modules\common > \project.xml' to: 'C: > \WINNT\Profiles\EdiLocal\.maven\repository\openjms\poms\openjms- > common-0.7.7-dev > .pom' > +---------------------------------------- > | Executing multiproject:install-callback OpenJMS: HTTP tunnel > | Memory: 6M/8M > +---------------------------------------- > > java:jar-resources: > > test:prepare-filesystem: > > test:test-resources: > > test:compile: > > test:test: > > jar:jar: > > jar:install: > > > build:end: > > build:start: > > multiproject:install-callback: > [echo] Running war:install for OpenJMS: HTTP tunnel > war:init: > > war:war-resources: > [copy] Copying 1 file to F:\DESARROLLO\OPENJMS\openjms\modules > \tunnel\target > \openjms-tunnel\WEB-INF > > java:prepare-filesystem: > > java:compile: > [echo] Compiling to F:\DESARROLLO\OPENJMS\openjms\modules\tunnel/ > target/clas > ses > > java:jar-resources: > > test:prepare-filesystem: > > test:test-resources: > > test:compile: > [echo] No test source files to compile. > > test:test: > [echo] No tests to run. > > war:webapp: > [echo] Assembling webapp openjms-tunnel > [copy] Copying 1 file to F:\DESARROLLO\OPENJMS\openjms\modules > \tunnel\target > \openjms-tunnel\WEB-INF\lib > > war:war: > [echo] Building WAR openjms-tunnel > [jar] Building jar: F:\DESARROLLO\OPENJMS\openjms\modules\tunnel > \target\open > jms-tunnel.war > Copying: from 'F:\DESARROLLO\OPENJMS\openjms\modules\tunnel\target > \openjms-tunne > l.war' to: 'C:\WINNT\Profiles\EdiLocal\.maven\repository\openjms > \wars\openjms-tu > nnel-0.7.7-dev.war' > Copying: from 'F:\DESARROLLO\OPENJMS\openjms\modules\tunnel > \project.xml' to: 'C: > \WINNT\Profiles\EdiLocal\.maven\repository\openjms\poms\openjms- > tunnel-0.7.7-dev > .pom' > +---------------------------------------- > | Executing multiproject:install-callback OpenJMS: Network > | Memory: 6M/10M > +---------------------------------------- > > war:install: > > > build:end: > > build:start: > > multiproject:install-callback: > [echo] Running jar:install for OpenJMS: Network > java:prepare-filesystem: > > java:compile: > [echo] Compiling to F:\DESARROLLO\OPENJMS\openjms\modules\net/ > target/classes > > Copying: from 'F:\DESARROLLO\OPENJMS\openjms\modules\net\target > \openjms-net-0.7. > 7-dev.jar' to: 'C:\WINNT\Profiles\EdiLocal\.maven\repository\openjms > \jars\openjm > s-net-0.7.7-dev.jar' > Copying: from 'F:\DESARROLLO\OPENJMS\openjms\modules\net > \project.xml' to: 'C:\WI > NNT\Profiles\EdiLocal\.maven\repository\openjms\poms\openjms- > net-0.7.7-dev.pom' > +---------------------------------------- > | Executing multiproject:install-callback OpenJMS: JMS > | Memory: 7M/10M > +---------------------------------------- > proxygen:prepare-filesystem: > > proxies: > > > java:jar-resources: > > test:prepare-filesystem: > > test:test-resources: > > test:compile: > > test:test: > > jar:jar: > > jar:install: > > > build:end: > > build:start: > > multiproject:install-callback: > [echo] Running jar:install for OpenJMS: JMS > java:prepare-filesystem: > > java:compile: > generate-castor-srcs: > castor:prepare-filesystem: > > \ > antlr:prepare-filesystem: > > antlr:generate: > > [echo] Compiling to F:\DESARROLLO\OPENJMS\openjms\modules\jms/ > target/classes > > [javac] Compiling 321 source files to F:\DESARROLLO\OPENJMS > \openjms\modules\ > jms\target\classes > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:55: warning: org.xml.sax.AttributeList in > org.xml.sax has b > een deprecated > import org.xml.sax.AttributeList; > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:56: warning: org.xml.sax.DocumentHandler in > org.xml.sax has > been deprecated > import org.xml.sax.DocumentHandler; > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:60: warning: org.xml.sax.Parser in org.xml.sax > has been dep > recated > import org.xml.sax.Parser; > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:62: warning: > org.xml.sax.helpers.AttributeListImpl in org.x > ml.sax.helpers has been deprecated > import org.xml.sax.helpers.AttributeListImpl; > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:82: warning: org.xml.sax.DocumentHandler in > org.xml.sax has > been deprecated > private DocumentHandler _handler = null; > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:104: warning: org.xml.sax.DocumentHandler in > org.xml.sax ha > s been deprecated > public void setDocumentHandler(DocumentHandler handler) { > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:130: warning: org.xml.sax.DocumentHandler in > org.xml.sax ha > s been deprecated > private class AttributeInterceptor implements DocumentHandler { > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:144: warning: org.xml.sax.AttributeList in > org.xml.sax has > been deprecated > public void startElement(String name, AttributeList list) > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\client\Jm > sConnectionConsumer.java:148: cannot resolve symbol > symbol : method createSession (boolean,int) > location: interface javax.jms.Connection > _session = connection.createSession(false, > Session.CLIENT_ACKNOWLEDGE); > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\client\Jm > sConnectionConsumer.java:150: cannot resolve symbol > symbol : method createConsumer > (javax.jms.Destination,java.lang.String,boolean > ) > location: interface javax.jms.Session > _consumer = _session.createConsumer(destination, > selector, false); > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\client\Jm > sConnectionConsumer.java:152: cannot resolve symbol > symbol : method createDurableSubscriber > (javax.jms.Topic,java.lang.String,java > .lang.String,boolean) > location: interface javax.jms.Session > _consumer = _session.createDurableSubscriber((Topic) > destination, > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:104: warning: org.xml.sax.DocumentHandler in > org.xml.sax ha > s been deprecated > public void setDocumentHandler(DocumentHandler handler) { > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:112: warning: org.xml.sax.Parser in > org.xml.sax has been de > precated > Parser parser = Configuration.getDefaultParser(); > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:117: warning: org.xml.sax.DocumentHandler in > org.xml.sax ha > s been deprecated > DocumentHandler handler = new AttributeInterceptor(); > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:144: warning: org.xml.sax.AttributeList in > org.xml.sax has > been deprecated > public void startElement(String name, AttributeList list) > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:147: warning: > org.xml.sax.helpers.AttributeListImpl in org. > xml.sax.helpers has been deprecated > AttributeListImpl replaced = new AttributeListImpl(); > ^ > F:\DESARROLLO\OPENJMS\openjms\modules\jms\src\main\java\org\exolab > \jms\config\At > tributeExpander.java:147: warning: > org.xml.sax.helpers.AttributeListImpl in org. > xml.sax.helpers has been deprecated > AttributeListImpl replaced = new AttributeListImpl(); > ^ > 3 errors > 14 warnings > > BUILD FAILED > File...... C:\WINNT\Profiles\EdiLocal\.maven\cache\maven- > multiproject-plugin-1.3 > .1\plugin.jelly > Element... maven:reactor > Line...... 217 > Column.... 9 > Unable to obtain goal [multiproject:install-callback] -- C:\WINNT > \Profiles\EdiLo > cal\.maven\cache\maven-java-plugin-1.5\plugin.jelly:63:48: > <ant:javac> Compile f > ailed; see the compiler error output for details. > Total time: 19 seconds > Finished at: Wed May 25 17:37:41 CEST 2005 > > <edi.sanchez.vcf> > ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click