RE: BackingStoreException: Couldn't get file lock
Right - of course. To throw a backing store exception, it must already be JDK 1.4 :) Run maven with -e - it will show the full exception. It is a problem with system prefs, so maybe the JDK itself is busted? - Brett -Original Message- From: Martin Jaeger [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 August 2003 5:54 PM To: Maven Users List Subject: RE: BackingStoreException: Couldn't get file lock I'm using Maven 1.0beta10 and build with JDK1.4.1. It worked some time ago... But I have no idea what has changed (prehaps in my unix environment). Martin On Thu, 28 Aug 2003, Brett Porter wrote: From: Brett Porter [EMAIL PROTECTED] To: 'Maven Users List' [EMAIL PROTECTED] Subject: RE: BackingStoreException: Couldn't get file lock Date: Thu, 28 Aug 2003 08:27:20 +1000 X-mailer: Internet Mail Service (5.5.2653.19) What version of maven? Something is trying to use JDK 1.4 and I'm guessing you don't have it. However, I use Maven with JDK 1.3.1 on Solaris 2.8 all the time and the only problem I've had is trying to build Maven's site (the timestamp info in the publish date is using a Z which wasn't present in 1.3). - Brett -Original Message- From: Martin Jaeger [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 August 2003 6:23 PM To: [EMAIL PROTECTED] Subject: BackingStoreException: Couldn't get file lock Hi together I build on Solaris 2.8 and get the following warning. I have now idea what is happening here... Do you have any ideas? [echo] Generating /home/mjaegi/projects/tkf-014-4/target/docs/maven-reports.html from /home/mjaegi/projects/tkf-014-4/target/generated-xdocs/maven-r eports.xml Aug 26, 2003 8:03:42 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock System prefs.Unix error code 0. Aug 26, 2003 8:03:42 PM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. BUILD FAILED File.. file:/home/mjaegi/.maven/plugins/maven-xdoc-plugin-1.4-SNAPSHO T/ Element... echo Line.. 294 Column 15 java.lang.reflect.InvocationTargetException Total time: 54 minutes 5 seconds Thanks Martin -- -- Martin Jaeger [EMAIL PROTECTED] Netcetera AG, 8040 Zuerichphone +41 1 247 79 36 fax +41 1 247 70 75 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Martin Jaeger [EMAIL PROTECTED] Netcetera AG, 8040 Zuerichphone +41 1 247 79 36 fax +41 1 247 70 75 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: Getting source from CVS
Did you see the comment yesterday from Brett Porter about the scm plugin? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Eran Chinthaka [EMAIL PROTECTED] wrote on 28/08/2003 06:44:34 PM: Any body is here to help me -Original Message- From: Eran Chinthaka Sent: 26 August 2003 19:00 To: Maven Users List Subject: Getting source from CVS Hi, I'm a newbie to maven. When I want to build a new version of my software, what I did so far, I manually got the latest version from the CVS and activated the maven site. But by looking at the recent discussion in this group I understood that, I can automate this task of getting the latest from the CVS, by maven and continue on building on that. This will be much easier as this will help me to go for automated building of nightly builds. Please help me to do this. I've attached my project.xml Eran Chinthaka Software Engineer Eurocenter DDC Limited 65, Walukarama Road Colombo 03 Tel: (+94) 074 721194-6 E-Mail : [EMAIL PROTECTED] [attachment project.xml deleted by dIon Gillard/Multitask Consulting/AU] [attachment ATT23320.txt deleted by dIon Gillard/Multitask Consulting/AU] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jar plugin 1.1 release
The Maven team is pleased to announce the Jar plugin 1.1 release! http://maven.apache.org/reference/plugins/jar/index.html The Maven Jar plugin is a core plugin of Maven that assists in creating jar files. This release is a bug fix release to allow users of Maven 1.0-beta10 to update their local installation. The default for creating a jar index is now false. Changes in this version: o Added maven.jar.index property o Upgrade to velocity 1.4-dev You can download the Jar plugin here: http://www.ibiblio.org/maven/maven/plugins/maven-jar-plugin-1.1.jar Have fun! dIon -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/
Re: [aspectj-users] Problem with iajc and jdk 1.4.1 - RESOLVED
Hi, This is apparently a maven bug. I converted my maven.xml to an ant build.xml, and now it works fine. I'm crossposting this to the maven group, I'll open a bug if I get time. Thanks for the help, Chad -- Wes Isberg wrote: Try specifying the forkclasspath option. But even if that fixes it, it's worth submitting a bug along with enough info to identify the class conflict. Please include a verbose trace (by Ant and the compiler) and the Ant classpath (typically from removing @echo off from ant.bat or adding set -vx to the ant shell script). Wes Chad Woolley wrote: Hello, I am trying to use iajc in a maven build script. I keep getting the following error: [ERROR] java.lang.NoClassDefFoundError: sun/reflect/ConstructorAccessorImpl This looks very similar to the problem described in this thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg21990.html Here is my maven task: !-- === -- !-- performs aspectj compilation of compiled code -- !-- === -- goal name=virtualmock:compile:aspectj taskdef resource=org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties classpath pathelement location=${lib.dir}/aspectjtools.jar/ /classpath /taskdef iajc outjar=${aspectj.output.jarfile} fork=true copyInjars=true sourceRootCopyFilter=**/CVS/*,**/*.java injars pathelement location=${jarfile}/ pathelement location=${test.jarfile}/ /injars classpath pathelement location=${lib.dir}/aspectjrt.jar/ /classpath /iajc /goal Thanks in advance, Chad Woolley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with Jar-Plugin
Christian, we released the update jar plugin so that you can install it on beta 10 and fix this issue. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Christian Goos [EMAIL PROTECTED] wrote on 28/08/2003 09:53:10 PM: Hi, I am using Maven 1.0 beta 10 and had a problem with the JAR-Plugin. I could not run the jar I created and found that the jar-index that was created by the plugin caused the problem. Even when setting maven.jar.index to false it still created the index. In the plugin.jelly the index is always set to true but it should be set to false instead (this is what the plugin-documentation says) Christian ant:jar jarfile=${maven.build.dir}/${maven.final.name}.jar basedir=${maven.build.dest} index=true excludes=${maven.jar.excludes} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Word2HTML plugin 1.3 release
Hi dIon, When you go to http://maven.apache.org/reference/plugins/word2html/1.3/index.html the header still says Doc for 1.4-SNAPSHOT :-) -Vincent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 09:05 To: [EMAIL PROTECTED] Subject: Word2HTML plugin 1.3 release The Maven team is pleased to announce the Word2HTML plugin 1.3 release! http://maven.apache.org/reference/plugins/word2html/ The Maven Word2HTML plugin is a plugin that automates the conversion of .doc files into HTML. Changes in this version: o Correctly handle files with .. in the names o Open the word documents in readonly mode o Make plugin run when maven site is invoked You can download the Word2HTML plugin here: http://www.ibiblio.org/maven/maven/plugins/maven-word2html-plugin-1.3.ja r Have fun! dIon -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven checkstyle plugin report fails.
Hi all, I really donno why the checkstyle report fails and it traces the following error. BUILD FAILED File.. file:/usr/local/java/maven/plugins/maven-checkstyle-plugin-2.0-SNAPSHOT/ Element... ant:checkstyle Line.. 124 Column 65 Unable to create a Checker: unable to read /home/intranet/cvs/metapa/commons/checkstyle.xml Total time: 25 seconds believe me it worked very fine till day before yesterday. Please help me out to findout the solution. RK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Test Plugin : maven.junit.sysproperties
On Fri, 2003-08-29 at 12:05, Bateman, Patrick eMEDIA wrote: mtconfig_env=${mtconfig_env} mtconfig_dir=${basedir}/../mt_config/ This cause a stack overflow because mt_config is self referencing. self referencing properties do not work yet. A enhancement request is already file as MAVEN-693 in JIRA. You may vote for it - maybe it gets programmed for the next release http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-693 -- Martin Skopp Riege Software International GmbH Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com This email is intended to be viewed with a nonproportional font. Public Key on http://www.keyserver.net, Key-ID: 3D4027B5 Fingerprint: 1970 C78D 9A1D 99FA 5CE4 5C0D 29E6 6A95 3D40 27B5 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
artifact plugin generates wrong paths for file:// deployment
Hi, I am looking at Maven HEAD. The org.apache.maven.deploy.deployers.FileDeployer is a little confused about the destination file path. It generates the offset directory twice: Instead of copying a file to repository/group/type/ it uses repository/group/types/group/types The current code in deploy(DeployRequest) is ... destFile = new File(destFile, request.dirname()); if (!destFile.exists()) { destFile.mkdirs(); } destFile = new File(destFile, request.getDestFile()); ... That should be replaced by something like: ... if (destFile.getParentFile()!=null !destFile.getParentFile().exists()) { destFile.getParentFile().mkdirs(); } destFile = new File(destFile, request.getDestFile()); ... Which fixed the problem for me. Tschau, Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Test Plugin : maven.junit.sysproperties
Something like this should work: property environment=env/ property name=mtconfig_env value=${env.mtconfig_env}/ assuming mtconfig_env is what it's called in the OS. If not, change the value after 'env.' accordingly. On Fri, 29 Aug 2003, at 11:05:23 [GMT +0100] Bateman, Patrick eMEDIA wrote: I'm trying the set two properties for my JUnit tests using 'maven.junit.sysproperties' maven.junit.sysproperties=mtconfig_env mtconfig_dir mtconfig_env=${mtconfig_env} mtconfig_dir=${basedir}/../mt_config/ This cause a stack overflow because mt_config is self referencing. What I really want to achieve is to initialise mtconfig_env with an environment varaible from the OS. How do Maven property files load environment variables from the OS? Thanks Pat This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Excluding files from .war using war:war
Does the war plugin's war:war goal read the resources in project.xml when deciding what files to include/exclude in the .war that is built, or is resources only for .jars? I'm trying to figure out how to exclude certain resources from the .war. I saw that there is a maven.war.classes.excludes property for the war plugin, but didn't see a maven.war.resource.excludes one. Do I just need to write a pregoal for war:war that deletes certain resources in ${maven.war.webapp.dir}? Thank you. - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software
RE: Excluding files from .war using war:war
Have you tried using the excludes sub-element of the resource element? See http://maven.apache.org/reference/project-descriptor.html#resource. Sri -Original Message- From: Konrad [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 12:42 PM To: [EMAIL PROTECTED] Subject: Excluding files from .war using war:war Does the war plugin's war:war goal read the resources in project.xml when deciding what files to include/exclude in the .war that is built, or is resources only for .jars? I'm trying to figure out how to exclude certain resources from the .war. I saw that there is a maven.war.classes.excludes property for the war plugin, but didn't see a maven.war.resource.excludes one. Do I just need to write a pregoal for war:war that deletes certain resources in ${maven.war.webapp.dir}? Thank you. - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Excluding files from .war using war:war
Hi Sri. Thanks for your suggestion, but I already tried that: resource directorysrc/webapp/images/directory excludes exclude*.*/exclude /excludes /resource Unfortunately, it's not working. Does it work for you? Thank you. Sri Sankaran [EMAIL PROTECTED] wrote: Have you tried using the EXCLUDESsub-element of the RESOURCEelement? See http://maven.apache.org/reference/project-descriptor.html#resource. Sri -Original Message- From: Konrad [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 12:42 PM To: [EMAIL PROTECTED] Subject: Excluding files from .war using war:war Does the war plugin's war:war goal read the in project.xml when deciding what files to include/exclude in the .war that is built, or is only for .jars? I'm trying to figure out how to exclude certain resources from the .war. I saw that there is a maven.war.classes.excludes property for the war plugin, but didn't see a maven.war.resource.excludes one. Do I just need to write a pregoal for war:war that deletes certain resources in ${maven.war.webapp.dir}? Thank you. - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software
RE: Excluding files from .war using war:war
I haven't tried it. Sorry I didn't mean to suggest that. The war:webapp goal -- which gets invoked when you call war:war -- copies everything in your webapps directory -- with no excludes: j:if test=${webSourcesPresent == 'true'} ant:copy todir=${maven.war.webapp.dir} ant:fileset dir=${maven.war.src}/ /ant:copy /j:if I think the only alternative is to prep a copy of your webapps directory with just what you want copied and then set the maven.war.src to point to it. I use that technique since I have to modify my web.xml before building the war. Sri -Original Message- From: Konrad [mailto:[EMAIL PROTECTED] Sent: Fri 8/29/2003 2:18 PM To: Maven Users List Cc: Subject:RE: Excluding files from .war using war:war Hi Sri. Thanks for your suggestion, but I already tried that: resource directorysrc/webapp/images/directory excludes exclude*.*/exclude /excludes /resource Unfortunately, it's not working. Does it work for you? Thank you. Sri Sankaran [EMAIL PROTECTED] wrote: Have you tried using the EXCLUDESsub-element of the RESOURCEelement? See http://maven.apache.org/reference/project-descriptor.html#resource. Sri -Original Message- From: Konrad [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 12:42 PM To: [EMAIL PROTECTED] Subject: Excluding files from .war using war:war Does the war plugin's war:war goal read the in project.xml when deciding what files to include/exclude in the .war that is built, or is only for .jars? I'm trying to figure out how to exclude certain resources from the .war. I saw that there is a maven.war.classes.excludes property for the war plugin, but didn't see a maven.war.resource.excludes one. Do I just need to write a pregoal for war:war that deletes certain resources in ${maven.war.webapp.dir}? Thank you. - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Perforce
I'm attempting to use the Perforce plugin to do a p4sync. I get a failure with this root cause: java.lang.NoClassDefFoundError: org/apache/oro/text/perl/Perl5Util The perforce plugin's entire reason for existence is to put oro-2.0.6.jar into the classpath. The jar is in the repository. The jar .does. contain the org/apache/oro/text/perl/Perl5Util class. I've also tried putting oro-2.0.6.jar into the dependencies of my own project.xml. Anyone had (or, better yet, solved) this problem? Thanks, Wordman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]