From 77f89af55babf0fd8b09504e362752ebe6d7eccc Mon Sep 17 00:00:00 2001 From: Nitin Dahyabhai Date: Mon, 4 Jan 2021 04:16:41 -0500 Subject: [417874] Change default Java source folder to src/main/java Change-Id: I36f57911f634d515704257cd141c3e6eb98424b9 --- .../project/facet/core/internal/FacetCorePlugin.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/org.eclipse.jst.common.project.facet.core/src/org/eclipse/jst/common/project/facet/core/internal/FacetCorePlugin.java b/plugins/org.eclipse.jst.common.project.facet.core/src/org/eclipse/jst/common/project/facet/core/internal/FacetCorePlugin.java index 17689b0ee..0a4aba4a2 100644 --- a/plugins/org.eclipse.jst.common.project.facet.core/src/org/eclipse/jst/common/project/facet/core/internal/FacetCorePlugin.java +++ b/plugins/org.eclipse.jst.common.project.facet.core/src/org/eclipse/jst/common/project/facet/core/internal/FacetCorePlugin.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2005, 2008 IBM Corporation and others. + * Copyright (c) 2005, 2021 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * which accompanies this distribution, and is available at @@ -17,25 +17,25 @@ import org.eclipse.core.runtime.Platform; import org.eclipse.core.runtime.Plugin; import org.eclipse.core.runtime.Status; -public final class FacetCorePlugin +public final class FacetCorePlugin extends Plugin { public static final String PLUGIN_ID = "org.eclipse.jst.common.project.facet.core"; //$NON-NLS-1$ public static final String OUTPUT_FOLDER = "outputFolder"; //$NON-NLS-1$ - public static final String PROD_PROP_SOURCE_FOLDER_LEGACY = "defaultSource"; //$NON-NLS-1$ + public static final String PROD_PROP_SOURCE_FOLDER_LEGACY = "defaultSource"; //$NON-NLS-1$ private static final String PROD_PROP_SOURCE_FOLDER = "defaultJavaSourceFolder"; //$NON-NLS-1$ - public static final String DEFAULT_SOURCE_FOLDER = "src"; //$NON-NLS-1$ + public static final String DEFAULT_SOURCE_FOLDER = "src/main/java"; //$NON-NLS-1$ public static final String DEFUALT_OUTPUT_FOLDER ="build/classes"; //$NON-NLS-1$ - + private static FacetCorePlugin inst; /** * Get the plugin singleton. */ - - public static FacetCorePlugin getDefault() + + public static FacetCorePlugin getDefault() { return inst; } -- cgit v1.2.3