Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Merks2018-01-28 09:11:37 +0000
committerEd Merks2018-01-28 09:11:37 +0000
commit9011b7e203335a29e3e2cbc3166754ad52243e9f (patch)
tree2c05060a67831ac9d4c345a2842cbac853c1ecac /releng/org.eclipse.emf.releng
parent03b33214ea462d74bd90df7d92af62d28bcf1b9d (diff)
downloadorg.eclipse.emf-9011b7e203335a29e3e2cbc3166754ad52243e9f.tar.gz
org.eclipse.emf-9011b7e203335a29e3e2cbc3166754ad52243e9f.tar.xz
org.eclipse.emf-9011b7e203335a29e3e2cbc3166754ad52243e9f.zip
[Releng] Enable informational Javadoc warnings and fix them
Also include a runtime workspace launch. It's important to exclude RAP features from the self-hosted launch.
Diffstat (limited to 'releng/org.eclipse.emf.releng')
-rw-r--r--releng/org.eclipse.emf.releng/EMF.setup20
-rw-r--r--releng/org.eclipse.emf.releng/src/org/eclipse/emf/releng/UpdateSiteGenerator.java14
-rw-r--r--releng/org.eclipse.emf.releng/src/org/eclipse/emf/releng/UpdateSiteGeneratorTest.java2
3 files changed, 26 insertions, 10 deletions
diff --git a/releng/org.eclipse.emf.releng/EMF.setup b/releng/org.eclipse.emf.releng/EMF.setup
index 08820a925..0aaa5be52 100644
--- a/releng/org.eclipse.emf.releng/EMF.setup
+++ b/releng/org.eclipse.emf.releng/EMF.setup
@@ -128,6 +128,26 @@
key="/instance/org.eclipse.wst.xml.core/lineWidth"
value="180"/>
</setupTask>
+ <setupTask
+ xsi:type="setup:CompoundTask"
+ name="org.eclipse.jdt.core">
+ <setupTask
+ xsi:type="setup:PreferenceTask"
+ key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.invalidJavadoc"
+ value="info"/>
+ <setupTask
+ xsi:type="setup:PreferenceTask"
+ key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.invalidJavadocTags"
+ value="enabled"/>
+ <setupTask
+ xsi:type="setup:PreferenceTask"
+ key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility"
+ value="private"/>
+ <setupTask
+ xsi:type="setup:PreferenceTask"
+ key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription"
+ value="no_tag"/>
+ </setupTask>
</setupTask>
<setupTask
xsi:type="jdt:JRETask"
diff --git a/releng/org.eclipse.emf.releng/src/org/eclipse/emf/releng/UpdateSiteGenerator.java b/releng/org.eclipse.emf.releng/src/org/eclipse/emf/releng/UpdateSiteGenerator.java
index 5b74787f6..6194658a3 100644
--- a/releng/org.eclipse.emf.releng/src/org/eclipse/emf/releng/UpdateSiteGenerator.java
+++ b/releng/org.eclipse.emf.releng/src/org/eclipse/emf/releng/UpdateSiteGenerator.java
@@ -16,7 +16,6 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
-import java.net.URISyntaxException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.text.ParseException;
@@ -162,7 +161,6 @@ public class UpdateSiteGenerator
*
* @param source the source repository.
* @param buildType the {@code publish.build.type}.
- * @param buildTimestamp the {@code publish.build.timestamp}.
* @return the destination location at the repository was promoted.
* @throws Exception
*/
@@ -181,7 +179,7 @@ public class UpdateSiteGenerator
*
* @param source the source repository location.
* @param destination the destination repository location.
- * @param buildType the {@link publish.build.type}.
+ * @param buildType the {@code publish.build.type}.
* @return the destination location at the repository was mirrored.
* @throws Exception
*/
@@ -337,7 +335,7 @@ public class UpdateSiteGenerator
/**
* Returns the destination folder for the given build type and whether it is a latest composite or not.
*
- * @param buildType the {@link publish.build.type}.
+ * @param buildType the {@code publish.build.type}.
* @param latest whether this is a composite for the latest build.
* @return the destination folder.
*
@@ -356,7 +354,7 @@ public class UpdateSiteGenerator
/**
* Creates a composite update that references the given source repositories, at a location determined by the build type and the latest indicator.
* @param sources the source repositories.
- * @param buildType the {@link publish.build.type}.
+ * @param buildType the {@code publish.build.type}.
* @param latest whether is is a composite refering to the latest.
*
* @throws Exception
@@ -447,8 +445,6 @@ public class UpdateSiteGenerator
* @param sourceURI the source URI.
* @param targetURI the target URI.
* @return the relative URI.
- *
- * @throws URISyntaxException
*/
private static URI relativize(URI sourceURI, URI targetURI)
{
@@ -471,7 +467,7 @@ public class UpdateSiteGenerator
}
/**
- * Produces the {@link .xml.zx} forms as well as the {@code p2.index}.
+ * Produces the {@code .xml.zx} forms as well as the {@code p2.index}.
*
* @param targetRepository
*/
@@ -1179,7 +1175,7 @@ public class UpdateSiteGenerator
* Populates the IDs with the information from {@code about.mappings} for the branding plugin with the give UI ID.
* @param ids the IDs to populate.
* @param iuID the ID of a branding plugin.
- * @param idPattern the pattern for finding the ID in the {@link about.mappings}
+ * @param idPattern the pattern for finding the ID in the {@code about.mappings}
* @param validIDPattern the pattern for validating and extracting the ID.
* @param prefix the prefix that will be prepended to the ID.
*/
diff --git a/releng/org.eclipse.emf.releng/src/org/eclipse/emf/releng/UpdateSiteGeneratorTest.java b/releng/org.eclipse.emf.releng/src/org/eclipse/emf/releng/UpdateSiteGeneratorTest.java
index 151626e86..f524ae936 100644
--- a/releng/org.eclipse.emf.releng/src/org/eclipse/emf/releng/UpdateSiteGeneratorTest.java
+++ b/releng/org.eclipse.emf.releng/src/org/eclipse/emf/releng/UpdateSiteGeneratorTest.java
@@ -273,7 +273,7 @@ public class UpdateSiteGeneratorTest
* If {@code publish.clean} is 'true",
* it deletes older builds to ensure that each milestone build has the same newest version of the {@code org.eclipse.emf.sdk.feature.group} installable unit.
* In other words, milestone builds are delete as soon as there is a milestome build a newer version of EMF,
- * as opposed to deleting all the milestone builds after a release build, which would leave the {@link milestone} and {@link milestone/latest} empty.
+ * as opposed to deleting all the milestone builds after a release build, which would leave the {@code milestone} and {@code milestone/latest} empty.
*
* @throws Exception
*/

Back to the top