[ 
http://nagoya.apache.org/jira/browse/CACTUS-158?page=comments#action_56508 ]
     
Felipe Leme commented on CACTUS-158:
------------------------------------

Nevermind, I figured out the solution: calling createJvmarg().setLines() 
instead of createJvmarg().setValue().

In fact, that's exactly what the setJvmargs method does:

    public void setJvmargs(String s) {
        log("The jvmargs attribute is deprecated. "
            + "Please use nested jvmarg elements.", Project.MSG_WARN);
        cmdl.createVmArgument().setLine(s);
    }

    public Commandline.Argument createJvmarg() {
        return cmdl.createVmArgument();
    }

So, I fixed that - the only pending issue now is which properties to use on the 
maven plugin.

-- Felipe


> OutOfMemory in application server
> ---------------------------------
>
>          Key: CACTUS-158
>          URL: http://nagoya.apache.org/jira/browse/CACTUS-158
>      Project: Cactus
>         Type: Bug
>   Components: Ant Integration
>     Versions: 1.6.1
>     Reporter: Matheus Piai Bianconi
>     Assignee: Felipe Leme
>      Fix For: 1.7
>  Attachments: CACTUS_158.patch
>
> Cactus does not allow to define memory used by application server, then some 
> tests fail and error "OutOfMemoryError" occur.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to