Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3623

Typo in SCA java FAQ webpage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • Website
    • None
    • Mac OS 10.6, Safari Browser.
    • Patch Available

    Description

      Typo in setting environment variables (MAVEN_OPTS) for two examples in the [TUSCANY:Tuscany SCA Java - FAQ] webpage. Odd number of quotation marks means that the commands are invalid. Removal of the first quote mark keeps the command in the same style as other examples.

      Full source attached, but here is a quick diff:

      — old.txt 2010-07-02 19:45:47.000000000 +0100
      +++ new.txt 2010-07-02 19:42:26.000000000 +0100
      @@ -149,7 +149,7 @@ h3.

      {bgcolor}

      I always get a "Java heap space" error during the build while the itests are running these days. Runs fine if I build from within the itests folder but building from the top sca folder always fails.

      -try "MAVEN_OPTS="-Xmx1024m -Xms512m" or You can also increase the memory options in the sca pom [1], in the surefire plugin configuration section.
      +try MAVEN_OPTS="-Xmx1024m -Xms512m" or You can also increase the memory options in the sca pom [1], in the surefire plugin configuration section.

      [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/pom.xml

      @@ -165,7 +165,7 @@ at java.lang.ClassLoader.defineClass1(Na
      at java.lang.ClassLoader.defineClass(Unknown Source)

      
      

      -try "MAVEN_OPTS="-XX:MaxPermSize=256m". This works on the Sun JDK6. Check the JDK document for other JDKs
      +try MAVEN_OPTS="-XX:MaxPermSize=256m". This works on the Sun JDK6. Check the JDK document for other JDKs

      Attachments

        1. new.txt
          38 kB
          Andrew Trevorah

        Activity

          People

            Unassigned Unassigned
            a.trevorah Andrew Trevorah
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: