Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 58969 invoked from network); 25 May 2010 15:41:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 May 2010 15:41:16 -0000 Received: (qmail 77620 invoked by uid 500); 25 May 2010 15:41:16 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 77575 invoked by uid 500); 25 May 2010 15:41:15 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 77567 invoked by uid 99); 25 May 2010 15:41:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 15:41:15 +0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=AWL,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of webautomator2@gmail.com designates 74.125.82.174 as permitted sender) Received: from [74.125.82.174] (HELO mail-wy0-f174.google.com) (74.125.82.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 15:41:11 +0000 Received: by wyb29 with SMTP id 29so2549374wyb.33 for ; Tue, 25 May 2010 08:40:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=kI3aaQFrUL8EzzF2Y7TwF3N0PJ+9Z2x5AlWEVnOVnSg=; b=Up60iNgVuOFqtrwEhWdCmSpm3X07twzwsY48wQmDk18R92E/ElM/NezyPtxORHDZfN fB5qK2ZlISDmtWlEIoHPFqpi2Z02zEK05OOisg1gWH2tJGBWR4F9jeRrG0CRMQHIezQZ LynvhFqCsGefEZl1uaQ/B00fRoGHpLDmiyaHA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=R3C1MQcYUZQ3CJyjM9Z1dF3MWfpwG75pz4Uq80x8GGGUkGNjQ3Pbn2Nmssyo7os+H9 h+H6lDN4616kNL/9UAaNR9682g7Wl1h8YjRQyoHQaQM+i6yViC5YT5oSnxBQJUlREWsx Kt8y5LMk+F54Rwbvt+fFa8VVPETQ9lno+LCac= MIME-Version: 1.0 Received: by 10.216.91.81 with SMTP id g59mr4694053wef.83.1274802049182; Tue, 25 May 2010 08:40:49 -0700 (PDT) Received: by 10.216.220.200 with HTTP; Tue, 25 May 2010 08:40:48 -0700 (PDT) In-Reply-To: References: <4BFAA515.6070306@apache.org> <4BFABE8C.2030300@apache.org> Date: Tue, 25 May 2010 18:40:48 +0300 Message-ID: Subject: Re: Tests are ignored From: Web developer To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=0016e6d9a0274cee6f04876cfb51 --0016e6d9a0274cee6f04876cfb51 Content-Type: text/plain; charset=ISO-8859-1 While using a "surfire-report:report-only" the following info came up: Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [remote-resources:process {execution: default}] [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] Unable to load parent project from a relative path: *Could not find the model file '/root/pom.xml'*. for project unknown [INFO] Parent project loaded from repository. [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] [enforcer:enforce {execution: default}] [INFO] [source:jar {execution: attach-sources}] [INFO] Preparing source:test-jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [WARNING] Removing: test-jar from forked lifecycle, to prevent recursive invocation. [INFO] [enforcer:enforce {execution: default}] [INFO] [source:test-jar {execution: attach-sources}] John 2010/5/24 Web developer > 1. Yes, surfire reports are generated in XML. Tests are executed. > > 2. Yes, the heap size issue caused an exception in past runs. I had to add > -X... args. > > I will test if that works in complex. I will report the results, say. > tomorrow. John > > > 2010/5/24 Donald Woods > >> Those are expected outputs.... Did you get any test results with the >> "mvn clean install" run? >> >> If you run "ulimit -n" does it report 8192 or greater? If not, you'll >> need to up the file handle limits. >> >> Also, you need to set some heap sizes before running Maven - >> export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m" >> >> >> -Donald >> >> >> On 5/24/10 12:54 PM, Web developer wrote: >> > 2010/5/24 Donald Woods >> > >> >> I always use "mvn clean install" which will build and run all of the >> >> tests by default. >> >> >> >> Which JVM and Maven version are you using? Any recent version of Sun >> >> 1.6.0 and Maven 2.0.9+ or 2.2.1 should work. >> >> >> >> $ javac -version >> > javac 1.6.0_15 >> > $ mvn -version >> > Apache Maven 2.2.1 (rdebian-1) >> > Java version: 1.6.0_15 >> > Java home: /usr/lib/jvm/java-6-sun-1.6.0.15/jre >> > Default locale: ru_UA, platform encoding: UTF-8 >> > OS name: "linux" version: "2.6.31-19-server" arch: "amd64" Family: >> "unix" >> > >> > >> >> Do you have any overrides in your .m2/settings.xml which may be >> >> disabling tests? >> >> >> >> My /etc/maven2/settings.xml(no settings.xml in ~/.m2): >> > >> > >> > >> > >> > >> > >> > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 >> > http://maven.apache.org/xsd/settings-1.0.0.xsd"> >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > "mvn clean install" command gave some new response: >> > >> > [INFO] [javacc:jjtree-javacc {execution: jjtree-javacc-jpql}] >> > Java Compiler Compiler Version 4.0 (Tree Builder) >> > (type "jjtree" with no arguments for help) >> > Reading from file >> > >> /root/openjpa/openjpa-kernel/src/main/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jjt >> > . . . >> > File >> > >> "/root/openjpa/openjpa-kernel/target/generated-sources/jjtree/org/apache/openjpa/kernel/jpql/Node.java" >> > does not exist. Will create one. >> > Annotated grammar generated successfully in >> > >> /root/openjpa/openjpa-kernel/target/generated-sources/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jj >> > Java Compiler Compiler Version 4.0 (Parser Generator) >> > (type "javacc" with no arguments for help) >> > Reading from file >> > >> /root/openjpa/openjpa-kernel/target/generated-sources/jjtree/org/apache/openjpa/kernel/jpql/JPQL.jj >> > . . . >> > Warning: Choice conflict in (...)* construct at line 935, column 17. >> > Expansion nested within construct and expansion following >> construct >> > have common prefixes, one of which is: "+" >> > Consider using a lookahead of 2 or more for nested expansion. >> > Warning: Choice conflict in (...)* construct at line 944, column 17. >> > Expansion nested within construct and expansion following >> construct >> > have common prefixes, one of which is: "*" >> > Consider using a lookahead of 2 or more for nested expansion. >> > File "TokenMgrError.java" does not exist. Will create one. >> > Warning: ParseException.java: File is obsolete. Please rename or delete >> > this file so that a new one can be generated for you. >> > File "Token.java" does not exist. Will create one. >> > File "JavaCharStream.java" does not exist. Will create one. >> > Parser generated with 0 errors and 3 warnings. >> > >> > John >> > >> >> >> >> -Donald >> >> >> >> >> >> On 5/22/10 7:45 AM, Web developer wrote: >> >>> I usually go to my ~ directory, make checkout from svn trunk: >> >>> svn checkout http://svn.apache.org/repos/asf/openjpa/trunk openjpa >> >>> >> >>> After checkout is finished - I cd to 'openjpa' dub-dir. And make 'mvn >> >> test >> >>> ...' from ~/openjpa, respectively under root (to have rights for >> 'ulimit >> >> -n >> >>> 10000'). John >> >>> >> >>> 2010/5/21 Rick Curtis >> >>> >> >>>> Hmm... when you checked out trunk, you must have checked it out into >> a >> >>>> directory with a name other than openjpa-parent. When I refer to >> >>>> openjpa-parent, that is the directory where the root pom.xml file is >> >>>> located. Are you running 'mvn test' from that directory? >> >>>> >> >>> >> >> >> > >> > > --0016e6d9a0274cee6f04876cfb51--