fixes for javaDoc generations
diff --git a/docs/org.eclipse.jst.doc.isv/javadoc.xml b/docs/org.eclipse.jst.doc.isv/javadoc.xml
index 3c5d3be..0f2c0ff 100644
--- a/docs/org.eclipse.jst.doc.isv/javadoc.xml
+++ b/docs/org.eclipse.jst.doc.isv/javadoc.xml
@@ -1,91 +1,117 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<project default="main" basedir=".">
+<project
+    default="main"
+    basedir=".">
 
-	<property environment="env" />
-	
-	<property file="javadoc.properties" />
-	<property name="outputDir" value="${basedir}"/>
+    <property environment="env" />
 
-	<target name="main" depends="prephtml, javadoc, packagetoc" description="Builds Plugin Javadoc" />
+    <property file="javadoc.properties" />
+    <property
+        name="outputDir"
+        value="${basedir}" />
 
-	<target name="prephtml" description="Transforms XML to HTML.">	
-		<xslt 	style="javadoc.xsl" 
-				destdir=".." 
-				basedir=".."	
-				includes="**/overview.xml,**/package.xml" 
-				excludes="**/build/*,**/@dot/**,**/bin**"
-		/>  
-	</target>
+    <target
+        name="main"
+        depends="prephtml, javadoc, packagetoc"
+        description="Builds Plugin Javadoc" />
+
+    <target
+        name="prephtml"
+        description="Transforms XML to HTML.">
+        <xslt
+            style="javadoc.xsl"
+            destdir=".."
+            basedir=".."
+            includes="**/overview.xml,**/package.xml"
+            excludes="**/build/*,**/@dot/**,**/bin**" />
+    </target>
 
     <target name="javadoc">
-    	<echo message="classpath: ${J2SE15}" />
-    	<echo message="buildDirectory: ${buildDirectory}" />
-      <echo message="JAVADOC_COMMAND: ${env.JAVADOC_COMMAND}" />
-		
-		<mkdir dir="${outputDir}/reference/api/overview" />
+        <echo message="classpath: ${env.J2SE15}" />
+        <echo message="buildDirectory: ${buildDirectory}" />
+        <echo message="JAVADOC_COMMAND: ${env.JAVADOC_COMMAND}" />
 
-		<copy todir="${outputDir}/reference/api/overview" flatten="true" >
-			<fileset dir="${basedir}/api-overview/overview/"/> 
-			<fileset dir="${basedir}/.." includes="*/javadoc-images/*.jpg"/> 
-		</copy>
-        <javadoc executable="${env.JAVADOC_COMMAND}"
-        	access="public" 
-			author="false" 
-			
-			destdir="${outputDir}/reference/api" 
-			doctitle="${api.title}" 
-			nodeprecated="false" 
-			nodeprecatedlist="false" 
-			noindex="false" 
-			nonavbar="false" 
-			notree="false" 
-			overview="${basedir}/api-overview/overview.html"
-			packagenames="${api.packages}" 
-			sourcepath="${plugin.sourcefolders}" 
-			splitindex="true" 
-			use="true" 
-			version="true"
-			breakiterator="yes"
-        	verbose="false"
-        	failonerror="false"
-			>
-        	
-          <classpath>
-            <pathelement path="${classpath}"/>
-            <fileset dir="${buildDirectory}/../eclipse/plugins">
-              <include name="**/*.jar"/>
-            </fileset>
-            <dirset dir="${buildDirectory}">
-              <include name="**/@dot/**/*.class"/>
-            </dirset>            
-         	<dirset dir="${buildDirectory}">
-            <include name="**/bin/**/*"/>
-          </dirset>
-          </classpath>
-        	
-       </javadoc>
-    </target> 
-	
-	<target name="packagetoc">
-			<loadfile
-				  failonerror="false"
-			      property="wtp.packages"
-			      srcFile="${outputDir}/reference/api/package-list">
-				  <filterchain>
-				  	<filterreader classname="org.apache.tools.ant.filters.PrefixLines">
-				  	  <param name="prefix" value="&lt;/package&gt;&lt;package&gt;"/>
-				  	</filterreader>
-				  	<striplinebreaks/>
-				 </filterchain>
-			</loadfile>
-			
-			<!-- Create packages.xml file -->
-			<echo file="packages.xml">&lt;packages&gt;&lt;package&gt;${wtp.packages}&lt;/package&gt;&lt;/packages&gt;</echo>
-			
-			<xslt basedir="${basedir}" in="packages.xml" out="javadoctoc.xml" style="javadocToc.xsl">
-				<outputproperty name="method" value="xml"/>
-				<outputproperty name="indent" value="yes"/>
-			</xslt>
-		</target>
+        <mkdir dir="${outputDir}/reference/api/overview" />
+
+        <copy
+            todir="${outputDir}/reference/api/overview"
+            flatten="true">
+            <fileset dir="${basedir}/api-overview/overview/" />
+            <fileset
+                dir="${basedir}/.."
+                includes="*/javadoc-images/*.jpg" />
+        </copy>
+        <javadoc
+            executable="${env.JAVADOC_COMMAND}"
+        	  maxmemory="512m"
+            access="public"
+            author="false"
+            destdir="${outputDir}/reference/api"
+            doctitle="${api.title}"
+            nodeprecated="false"
+            nodeprecatedlist="false"
+            noindex="false"
+            nonavbar="false"
+            notree="false"
+            overview="${basedir}/api-overview/overview.html"
+            packagenames="${api.packages}"
+            sourcepath="${plugin.sourcefolders}"
+            splitindex="true"
+            use="true"
+            version="true"
+            breakiterator="yes"
+            verbose="false"
+            failonerror="false">
+
+            <classpath>
+                <pathelement path="${env.J2SE15}" />
+                <fileset dir="${buildDirectory}/../eclipse/plugins">
+                    <include name="**/*.jar" />
+                </fileset>
+                <dirset dir="${buildDirectory}">
+                    <include name="**/@dot/**/*.class" />
+                </dirset>
+                <dirset dir="${buildDirectory}">
+                    <include name="**/bin/**/*" />
+                </dirset>
+            </classpath>
+
+        </javadoc>
+    </target>
+
+    <target name="packagetoc">
+        <loadfile
+            failonerror="false"
+            property="wtp.packages"
+            srcFile="${outputDir}/reference/api/package-list">
+            <filterchain>
+                <filterreader
+                    classname="org.apache.tools.ant.filters.PrefixLines">
+                    <param
+                        name="prefix"
+                        value="&lt;/package&gt;&lt;package&gt;" />
+                </filterreader>
+                <striplinebreaks />
+            </filterchain>
+        </loadfile>
+
+        <!-- Create packages.xml file -->
+        <echo file="packages.xml">
+            &lt;packages&gt;&lt;package&gt;${wtp.packages}&lt;/package&gt;&lt;/packages&gt;
+        </echo>
+
+        <xslt
+            basedir="${basedir}"
+            in="packages.xml"
+            out="javadoctoc.xml"
+            style="javadocToc.xsl">
+            <outputproperty
+                name="method"
+                value="xml" />
+            <outputproperty
+                name="indent"
+                value="yes" />
+        </xslt>
+    </target>
 </project>
\ No newline at end of file