[Gary K] Default is "-ea" to enable assertions [Maria] Do we want to enable assertions on by default? I would think we want the defaults to be as performant as possible, but then developers can turn on assertions if they wish. Is there a guideline for what the default values should be?
Maria -----Original Message----- From: Gary Kind (JIRA) [mailto:[email protected]] Sent: Thursday, October 08, 2009 12:56 PM To: [email protected] Subject: [jira] Created: (TRINIDAD-1590) maven-jdev-plugin: added ability to set JVM Java Options. Default is "-ea" to enable assertions maven-jdev-plugin: added ability to set JVM Java Options. Default is "-ea" to enable assertions ----------------------------------------------------------------------------------------------- Key: TRINIDAD-1590 URL: https://issues.apache.org/jira/browse/TRINIDAD-1590 Project: MyFaces Trinidad Issue Type: New Feature Affects Versions: 1.2.10-plugins Reporter: Gary Kind In Jdeveloper under Project Properties -> Run/Debug/Profile, edit a selected profile and you will see a Java Options input text field to the right of the selected JVM. An attribute has been added to the maven-jdev-plugin to set these Java Options. Here is a sample of how it would be set in a maven pom.xml file: <plugin> <groupId>org.apache.myfaces.trinidadbuild</groupId> <artifactId>maven-jdev-plugin</artifactId> <configuration> <javaOptions>-ea</javaOptions> <projectHasTests>${jdev.project.has.tests}</projectHasTests> <testSourceRoots> <file>${project.basedir}/src/test</file> </testSourceRoots> </configuration> </plugin> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
