Re: a problem of running "maven aspectwerkz:jar"
Jonas Bonér <[email protected]> Mon, 05 May 2003 09:20:19 +0200
| Newsgroups | gmane.comp.java.aspectwerkz |
|---|---|
| Message-ID | <[email protected]> |
Hi Yan. Do you have a maven.xml file in the root dir of the aspectwerkz distribution? This one is needed since it defines the aspectwerkz:jar goal. I have not tried to build the dist. on win98. Can you build other project using maven? Sincerely, Jonas. Yan Tu wrote: > Hi, everyone, > > I am a beginner of AspectWerkz. I have a problem when > I try to run "maven aspectwerkz:jar". My OS is Win98. > Because I can't run the original maven.bat directly > (it always say "Bad command or file name"), I modified > maven.bat as the following: > > java > -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl > -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl > -Dmaven.home=%MAVEN_HOME% > -Dtools.jar=%JAVA_HOME%\lib\tools.jar > -Dforehead.conf.file=%MAVEN_HOME%\bin\forehead.conf > -Djava.endorsed.dirs=%JAVA_HOME%\lib\endorsed;%MAVEN_HOME%\lib\endorsed > -Xmx160m -classpath > %MAVEN_HOME%\lib\forehead-1.0-beta-4.jar;C:\maven\lib\endorsed\xerces-2.2.1.jar > com.werken.forehead.Forehead %1 > > When I ran "maven aspectwerkz:jar", I got the > following result: > > C:\aspectwerkz>maven aspectwerkz:jar > > C:\aspectwerkz>java > -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces > .jaxp.DocumentBuilderFactoryImpl > -Djavax.xml.parsers.SAXParserFactory=org.apache > .xerces.jaxp.SAXParserFactoryImpl > -Dmaven.home=C:\maven -Dtools.jar=C:\j2sdk1.4. > 0\lib\tools.jar > -Dforehead.conf.file=C:\maven\bin\forehead.conf > -Djava.endorsed. > dirs=C:\j2sdk1.4.0\lib\endorsed;C:\maven\lib\endorsed > -Xmx160m -classpath C:\mav > en\lib\forehead-1.0-beta-4.jar;C:\maven\lib\endorsed\xerces-2.2.1.jar > com.werken > .forehead.Forehead aspectwerkz:jar > > __ __ > | \/ |__ Jakarta _ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-9-SNAPSHOT > > > BUILD FAILED > Goal "aspectwerkz:jar > " does not exist in this project. > Total time: 19 seconds > > My environment sets are the following: > > C:\aspectwerkz>set > TMP=C:\WINDOWS\TEMP > TEMP=C:\WINDOWS\TEMP > PROMPT=$p$g > winbootdir=C:\WINDOWS > COMSPEC=C:\WINDOWS\COMMAND.COM > JAVA_HOME=C:\j2sdk1.4.0 > ASPECTWERKZ_HOME=C:\aspectwerkz > MAVEN_HOME=C:\maven > CLASSPATH=C:\j2sdk1.4.0\bin\;c:\j2sdk1.4.0\lib\;c:\j2sdk1.4.0\include\;c:\aspect > jwerkz\lib\aspectjrt.jar > PATH=C:\J2SDK1.4.0\BIN;C:\ASPECTWERKZ\BIN;C:\MAVEN\BIN;C:\WINDOWS;C:\WINDOWS\COM > MAND > windir=C:\WINDOWS > > Does anyone know how to solve the problem? I > appreciate your help very much. > > Thanks, > Yan > > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > aspectwerkz-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/aspectwerkz-developer > > -- Jonas http://freeroller.net/page/jboner ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf