You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ar...@apache.org on 2008/02/25 14:50:47 UTC

svn commit: r630852 - /incubator/qpid/trunk/qpid/java/module.xml

Author: arnaudsimon
Date: Mon Feb 25 05:50:46 2008
New Revision: 630852

URL: http://svn.apache.org/viewvc?rev=630852&view=rev
Log:
added prop jvmarg, that could be used allocate more memory: -Djvmarg=-Xmx512m

Modified:
    incubator/qpid/trunk/qpid/java/module.xml

Modified: incubator/qpid/trunk/qpid/java/module.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/module.xml?rev=630852&r1=630851&r2=630852&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/module.xml (original)
+++ incubator/qpid/trunk/qpid/java/module.xml Mon Feb 25 05:50:46 2008
@@ -186,10 +186,11 @@
     <isset property="cpp"/>
   </condition>
 
+
   <target name="test" depends="compile-tests" if="module.test.src.exists"
           description="execute unit tests">
     <junit fork="yes" haltonfailure="no" printsummary="on" timeout="600000">
-
+      <jvmarg value="${jvmarg}" />
       <sysproperty key="amqj.logging.level" value="${amqj.logging.level}"/>
       <sysproperty key="root.logging.level" value="${root.logging.level}"/>
       <sysproperty key="log4j.configuration" value="${log4j.configuration}"/>
@@ -203,7 +204,7 @@
       <formatter type="xml"/>
 
       <classpath refid="module.test.path"/>
-
+     
       <batchtest fork="yes" todir="${build.results}">
         <fileset dir="${module.test.src}">
           <include name="**/${test}.java"/>



Re: svn commit: r630852 - /incubator/qpid/trunk/qpid/java/module.xml

Posted by Rafael Schloming <ra...@redhat.com>.
This should be fixed now.

--Rafael

Rafael Schloming wrote:
> Gordon Sim wrote:
>> arnaudsimon@apache.org wrote:
>>> Author: arnaudsimon
>>> Date: Mon Feb 25 05:50:46 2008
>>> New Revision: 630852
>>>
>>> URL: http://svn.apache.org/viewvc?rev=630852&view=rev
>>> Log:
>>> added prop jvmarg, that could be used allocate more memory: 
>>> -Djvmarg=-Xmx512m
>>>
>>> Modified:
>>>     incubator/qpid/trunk/qpid/java/module.xml
>>>
>>
>> After updating to this revision, when I try to run tests using ant 
>> (and with an external broker) I get the following error:
>>
>>     [junit] Exception in thread "main" java.lang.NoClassDefFoundError: 
>> ${jvmarg}
>>     [junit] java.io.FileNotFoundException: 
>> /home/gordon/qpid/trunk/qpid/java/client/junitvmwatcher1772499093.properties 
>> (No such file or directory)
>>     [junit]     at java.io.FileInputStream.open(Native Method)
>>     [junit]     at 
>> java.io.FileInputStream.<init>(FileInputStream.java:106)
>>     [junit]     at java.io.FileReader.<init>(FileReader.java:55)
>>     [junit]     at 
>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(JUnitTask.java:1028) 
>>
>>
>> I've I revert out this change, I don't get the problem. Anyone else 
>> seeing this? Do I need to do something particular to get this working 
>> again?
> 
> It looks like the property is missing a default. I'll fix it shortly.
> 
> --Rafael

Re: svn commit: r630852 - /incubator/qpid/trunk/qpid/java/module.xml

Posted by Rafael Schloming <ra...@redhat.com>.
Gordon Sim wrote:
> arnaudsimon@apache.org wrote:
>> Author: arnaudsimon
>> Date: Mon Feb 25 05:50:46 2008
>> New Revision: 630852
>>
>> URL: http://svn.apache.org/viewvc?rev=630852&view=rev
>> Log:
>> added prop jvmarg, that could be used allocate more memory: 
>> -Djvmarg=-Xmx512m
>>
>> Modified:
>>     incubator/qpid/trunk/qpid/java/module.xml
>>
> 
> After updating to this revision, when I try to run tests using ant (and 
> with an external broker) I get the following error:
> 
>     [junit] Exception in thread "main" java.lang.NoClassDefFoundError: 
> ${jvmarg}
>     [junit] java.io.FileNotFoundException: 
> /home/gordon/qpid/trunk/qpid/java/client/junitvmwatcher1772499093.properties 
> (No such file or directory)
>     [junit]     at java.io.FileInputStream.open(Native Method)
>     [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:106)
>     [junit]     at java.io.FileReader.<init>(FileReader.java:55)
>     [junit]     at 
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(JUnitTask.java:1028) 
> 
> 
> I've I revert out this change, I don't get the problem. Anyone else 
> seeing this? Do I need to do something particular to get this working 
> again?

It looks like the property is missing a default. I'll fix it shortly.

--Rafael

Re: svn commit: r630852 - /incubator/qpid/trunk/qpid/java/module.xml

Posted by Gordon Sim <gs...@redhat.com>.
arnaudsimon@apache.org wrote:
> Author: arnaudsimon
> Date: Mon Feb 25 05:50:46 2008
> New Revision: 630852
> 
> URL: http://svn.apache.org/viewvc?rev=630852&view=rev
> Log:
> added prop jvmarg, that could be used allocate more memory: -Djvmarg=-Xmx512m
> 
> Modified:
>     incubator/qpid/trunk/qpid/java/module.xml
> 

After updating to this revision, when I try to run tests using ant (and 
with an external broker) I get the following error:

     [junit] Exception in thread "main" java.lang.NoClassDefFoundError: 
${jvmarg}
     [junit] java.io.FileNotFoundException: 
/home/gordon/qpid/trunk/qpid/java/client/junitvmwatcher1772499093.properties 
(No such file or directory)
     [junit]     at java.io.FileInputStream.open(Native Method)
     [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:106)
     [junit]     at java.io.FileReader.<init>(FileReader.java:55)
     [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(JUnitTask.java:1028)

I've I revert out this change, I don't get the problem. Anyone else 
seeing this? Do I need to do something particular to get this working again?