This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 247927
Collapse All | Expand All

(-)a/web.clientproject/nbproject/project.xml (-9 lines)
Lines 94-108 Link Here
94
                    </run-dependency>
94
                    </run-dependency>
95
                </dependency>
95
                </dependency>
96
                <dependency>
96
                <dependency>
97
                    <code-name-base>org.netbeans.modules.project.ant</code-name-base>
98
                    <build-prerequisite/>
99
                    <compile-dependency/>
100
                    <run-dependency>
101
                        <release-version>1</release-version>
102
                        <specification-version>1.46</specification-version>
103
                    </run-dependency>
104
                </dependency>
105
                <dependency>
106
                    <code-name-base>org.netbeans.modules.project.libraries</code-name-base>
97
                    <code-name-base>org.netbeans.modules.project.libraries</code-name-base>
107
                    <build-prerequisite/>
98
                    <build-prerequisite/>
108
                    <compile-dependency/>
99
                    <compile-dependency/>
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/ClientSideProject.java (-8 / +6 lines)
Lines 85-90 Link Here
85
import org.netbeans.modules.web.clientproject.api.platform.PlatformProviders;
85
import org.netbeans.modules.web.clientproject.api.platform.PlatformProviders;
86
import org.netbeans.modules.web.clientproject.api.platform.PlatformProvidersListener;
86
import org.netbeans.modules.web.clientproject.api.platform.PlatformProvidersListener;
87
import org.netbeans.modules.web.clientproject.bower.BowerProblemProvider;
87
import org.netbeans.modules.web.clientproject.bower.BowerProblemProvider;
88
import org.netbeans.modules.web.clientproject.indirect.AntProjectEvent;
89
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
90
import org.netbeans.modules.web.clientproject.indirect.AntProjectListener;
91
import org.netbeans.modules.web.clientproject.indirect.PropertyEvaluator;
92
import org.netbeans.modules.web.clientproject.indirect.ReferenceHelper;
88
import org.netbeans.modules.web.clientproject.node.NpmProblemProvider;
93
import org.netbeans.modules.web.clientproject.node.NpmProblemProvider;
89
import org.netbeans.modules.web.clientproject.problems.ProjectPropertiesProblemProvider;
94
import org.netbeans.modules.web.clientproject.problems.ProjectPropertiesProblemProvider;
90
import org.netbeans.modules.web.clientproject.spi.platform.ClientProjectEnhancedBrowserImplementation;
95
import org.netbeans.modules.web.clientproject.spi.platform.ClientProjectEnhancedBrowserImplementation;
Lines 103-116 Link Here
103
import org.netbeans.modules.web.common.spi.ProjectWebRootProvider;
108
import org.netbeans.modules.web.common.spi.ProjectWebRootProvider;
104
import org.netbeans.spi.project.AuxiliaryConfiguration;
109
import org.netbeans.spi.project.AuxiliaryConfiguration;
105
import org.netbeans.spi.project.support.LookupProviderSupport;
110
import org.netbeans.spi.project.support.LookupProviderSupport;
106
import org.netbeans.spi.project.support.ant.AntBasedProjectRegistration;
107
import org.netbeans.spi.project.support.ant.AntProjectEvent;
108
import org.netbeans.spi.project.support.ant.AntProjectHelper;
109
import org.netbeans.spi.project.support.ant.AntProjectListener;
110
import org.netbeans.spi.project.support.ant.ProjectXmlSavedHook;
111
import org.netbeans.spi.project.support.ant.PropertyEvaluator;
112
import org.netbeans.spi.project.support.ant.PropertyUtils;
113
import org.netbeans.spi.project.support.ant.ReferenceHelper;
114
import org.netbeans.spi.project.ui.PrivilegedTemplates;
111
import org.netbeans.spi.project.ui.PrivilegedTemplates;
115
import org.netbeans.spi.project.ui.ProjectOpenedHook;
112
import org.netbeans.spi.project.ui.ProjectOpenedHook;
116
import org.netbeans.spi.project.ui.RecommendedTemplates;
113
import org.netbeans.spi.project.ui.RecommendedTemplates;
Lines 126-131 Link Here
126
import org.openide.filesystems.FileObject;
123
import org.openide.filesystems.FileObject;
127
import org.openide.filesystems.FileRenameEvent;
124
import org.openide.filesystems.FileRenameEvent;
128
import org.openide.filesystems.FileUtil;
125
import org.openide.filesystems.FileUtil;
126
import org.openide.util.EditableProperties;
129
import org.openide.util.ImageUtilities;
127
import org.openide.util.ImageUtilities;
130
import org.openide.util.Lookup;
128
import org.openide.util.Lookup;
131
import org.openide.util.Mutex;
129
import org.openide.util.Mutex;
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/ClientSideProjectBrowserProvider.java (-4 / +2 lines)
Lines 48-61 Link Here
48
import java.util.Collection;
48
import java.util.Collection;
49
import org.netbeans.api.project.ProjectManager;
49
import org.netbeans.api.project.ProjectManager;
50
import org.netbeans.modules.web.browser.api.WebBrowser;
50
import org.netbeans.modules.web.browser.api.WebBrowser;
51
import org.netbeans.modules.web.browser.api.BrowserUISupport;
52
import org.netbeans.modules.web.browser.api.WebBrowsers;
51
import org.netbeans.modules.web.browser.api.WebBrowsers;
53
import org.netbeans.modules.web.browser.spi.ProjectBrowserProvider;
52
import org.netbeans.modules.web.browser.spi.ProjectBrowserProvider;
54
import static org.netbeans.modules.web.browser.spi.ProjectBrowserProvider.PROP_BROWSER_ACTIVE;
53
import static org.netbeans.modules.web.browser.spi.ProjectBrowserProvider.PROP_BROWSER_ACTIVE;
55
import org.netbeans.modules.web.clientproject.ui.customizer.CompositePanelProviderImpl;
54
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
56
import org.netbeans.modules.web.clientproject.ui.customizer.CustomizerProviderImpl;
55
import org.netbeans.modules.web.clientproject.ui.customizer.CustomizerProviderImpl;
57
import org.netbeans.spi.project.support.ant.AntProjectHelper;
56
import org.openide.util.EditableProperties;
58
import org.netbeans.spi.project.support.ant.EditableProperties;
59
import org.openide.util.Exceptions;
57
import org.openide.util.Exceptions;
60
58
61
/**
59
/**
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/ClientSideProjectSources.java (-3 / +3 lines)
Lines 48-56 Link Here
48
import org.netbeans.api.project.SourceGroup;
48
import org.netbeans.api.project.SourceGroup;
49
import org.netbeans.api.project.Sources;
49
import org.netbeans.api.project.Sources;
50
import org.netbeans.modules.web.clientproject.api.WebClientProjectConstants;
50
import org.netbeans.modules.web.clientproject.api.WebClientProjectConstants;
51
import org.netbeans.spi.project.support.ant.AntProjectHelper;
51
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
52
import org.netbeans.spi.project.support.ant.PropertyEvaluator;
52
import org.netbeans.modules.web.clientproject.indirect.PropertyEvaluator;
53
import org.netbeans.spi.project.support.ant.SourcesHelper;
53
import org.netbeans.modules.web.clientproject.indirect.SourcesHelper;
54
import org.openide.util.ChangeSupport;
54
import org.openide.util.ChangeSupport;
55
55
56
/**
56
/**
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/FileEncodingQueryImpl.java (-1 / +1 lines)
Lines 49-56 Link Here
49
import java.nio.charset.Charset;
49
import java.nio.charset.Charset;
50
import java.nio.charset.IllegalCharsetNameException;
50
import java.nio.charset.IllegalCharsetNameException;
51
import java.nio.charset.UnsupportedCharsetException;
51
import java.nio.charset.UnsupportedCharsetException;
52
import org.netbeans.modules.web.clientproject.indirect.PropertyEvaluator;
52
import org.netbeans.spi.queries.FileEncodingQueryImplementation;
53
import org.netbeans.spi.queries.FileEncodingQueryImplementation;
53
import org.netbeans.spi.project.support.ant.PropertyEvaluator;
54
import org.openide.filesystems.FileObject;
54
import org.openide.filesystems.FileObject;
55
import org.openide.util.Parameters;
55
import org.openide.util.Parameters;
56
56
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/SharabilityQueryImpl.java (-2 / +2 lines)
Lines 51-58 Link Here
51
import java.util.concurrent.CopyOnWriteArraySet;
51
import java.util.concurrent.CopyOnWriteArraySet;
52
import org.netbeans.api.project.ProjectManager;
52
import org.netbeans.api.project.ProjectManager;
53
import org.netbeans.api.queries.SharabilityQuery.Sharability;
53
import org.netbeans.api.queries.SharabilityQuery.Sharability;
54
import org.netbeans.spi.project.support.ant.AntProjectHelper;
54
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
55
import org.netbeans.spi.project.support.ant.PropertyEvaluator;
55
import org.netbeans.modules.web.clientproject.indirect.PropertyEvaluator;
56
import org.netbeans.spi.queries.SharabilityQueryImplementation2;
56
import org.netbeans.spi.queries.SharabilityQueryImplementation2;
57
import org.openide.util.Mutex;
57
import org.openide.util.Mutex;
58
import org.openide.util.WeakListeners;
58
import org.openide.util.WeakListeners;
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/TemplateAttributesProviderImpl.java (-2 / +2 lines)
Lines 51-63 Link Here
51
import org.netbeans.api.project.ProjectInformation;
51
import org.netbeans.api.project.ProjectInformation;
52
import org.netbeans.api.project.ProjectManager;
52
import org.netbeans.api.project.ProjectManager;
53
import org.netbeans.api.project.ProjectUtils;
53
import org.netbeans.api.project.ProjectUtils;
54
import org.netbeans.spi.project.support.ant.AntProjectHelper;
54
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
55
import org.netbeans.spi.project.support.ant.EditableProperties;
56
import org.netbeans.spi.queries.FileEncodingQueryImplementation;
55
import org.netbeans.spi.queries.FileEncodingQueryImplementation;
57
import org.openide.filesystems.FileUtil;
56
import org.openide.filesystems.FileUtil;
58
import org.openide.loaders.CreateFromTemplateAttributesProvider;
57
import org.openide.loaders.CreateFromTemplateAttributesProvider;
59
import org.openide.loaders.DataFolder;
58
import org.openide.loaders.DataFolder;
60
import org.openide.loaders.DataObject;
59
import org.openide.loaders.DataObject;
60
import org.openide.util.EditableProperties;
61
import org.openide.util.Utilities;
61
import org.openide.util.Utilities;
62
62
63
/**
63
/**
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/browser/ClientProjectEnhancedBrowserImpl.java (-2 / +2 lines)
Lines 48-60 Link Here
48
import org.netbeans.modules.web.browser.api.WebBrowser;
48
import org.netbeans.modules.web.browser.api.WebBrowser;
49
import org.netbeans.modules.web.clientproject.ClientSideProject;
49
import org.netbeans.modules.web.clientproject.ClientSideProject;
50
import org.netbeans.modules.web.clientproject.ClientSideProjectConstants;
50
import org.netbeans.modules.web.clientproject.ClientSideProjectConstants;
51
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
51
import org.netbeans.modules.web.clientproject.spi.platform.ClientProjectEnhancedBrowserImplementation;
52
import org.netbeans.modules.web.clientproject.spi.platform.ClientProjectEnhancedBrowserImplementation;
52
import org.netbeans.modules.web.clientproject.spi.platform.ProjectConfigurationCustomizer;
53
import org.netbeans.modules.web.clientproject.spi.platform.ProjectConfigurationCustomizer;
53
import org.netbeans.modules.web.clientproject.spi.platform.RefreshOnSaveListener;
54
import org.netbeans.modules.web.clientproject.spi.platform.RefreshOnSaveListener;
54
import org.netbeans.modules.web.clientproject.ui.browser.BrowserConfigurationPanel;
55
import org.netbeans.modules.web.clientproject.ui.browser.BrowserConfigurationPanel;
55
import org.netbeans.spi.project.ActionProvider;
56
import org.netbeans.spi.project.ActionProvider;
56
import org.netbeans.spi.project.support.ant.AntProjectHelper;
57
import org.openide.util.EditableProperties;
57
import org.netbeans.spi.project.support.ant.EditableProperties;
58
58
59
public class ClientProjectEnhancedBrowserImpl implements ClientProjectEnhancedBrowserImplementation {
59
public class ClientProjectEnhancedBrowserImpl implements ClientProjectEnhancedBrowserImplementation {
60
60
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/createprojectapi/ClientSideProjectGenerator.java (-1 / +1 lines)
Lines 46-53 Link Here
46
import org.netbeans.api.project.FileOwnerQuery;
46
import org.netbeans.api.project.FileOwnerQuery;
47
import org.netbeans.api.project.Project;
47
import org.netbeans.api.project.Project;
48
import org.netbeans.modules.web.clientproject.ClientSideProject;
48
import org.netbeans.modules.web.clientproject.ClientSideProject;
49
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
49
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
50
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
50
import org.netbeans.spi.project.support.ant.AntProjectHelper;
51
import org.openide.util.Parameters;
51
import org.openide.util.Parameters;
52
52
53
/**
53
/**
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/grunt/GruntCustomizerPanel.java (-3 / +3 lines)
Lines 48-57 Link Here
48
import java.util.prefs.Preferences;
48
import java.util.prefs.Preferences;
49
import org.openide.util.NbPreferences;
49
import org.openide.util.NbPreferences;
50
import org.netbeans.modules.web.clientproject.ClientSideProject;
50
import org.netbeans.modules.web.clientproject.ClientSideProject;
51
import org.netbeans.spi.project.support.ant.AntProjectHelper;
51
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
52
import org.netbeans.spi.project.support.ant.EditableProperties;
52
import org.netbeans.modules.web.clientproject.indirect.PropertyEvaluator;
53
import org.netbeans.spi.project.support.ant.PropertyEvaluator;
54
import org.netbeans.spi.project.ui.support.ProjectCustomizer;
53
import org.netbeans.spi.project.ui.support.ProjectCustomizer;
54
import org.openide.util.EditableProperties;
55
import org.openide.util.Exceptions;
55
import org.openide.util.Exceptions;
56
import org.openide.util.NbBundle;
56
import org.openide.util.NbBundle;
57
57
(-)e7499d50abe0 (+50 lines)
Added Link Here
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 *
4
 * Copyright 2014 Oracle and/or its affiliates. All rights reserved.
5
 *
6
 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
7
 * Other names may be trademarks of their respective owners.
8
 *
9
 * The contents of this file are subject to the terms of either the GNU
10
 * General Public License Version 2 only ("GPL") or the Common
11
 * Development and Distribution License("CDDL") (collectively, the
12
 * "License"). You may not use this file except in compliance with the
13
 * License. You can obtain a copy of the License at
14
 * http://www.netbeans.org/cddl-gplv2.html
15
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
16
 * specific language governing permissions and limitations under the
17
 * License.  When distributing the software, include this License Header
18
 * Notice in each file and include the License file at
19
 * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
20
 * particular file as subject to the "Classpath" exception as provided
21
 * by Oracle in the GPL Version 2 section of the License file that
22
 * accompanied this code. If applicable, add the following below the
23
 * License Header, with the fields enclosed by brackets [] replaced by
24
 * your own identifying information:
25
 * "Portions Copyrighted [year] [name of copyright owner]"
26
 *
27
 * If you wish your version of this file to be governed by only the CDDL
28
 * or only the GPL Version 2, indicate your decision by adding
29
 * "[Contributor] elects to include this software in this distribution
30
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
31
 * single choice of license, a recipient has the option to distribute
32
 * your version of this file under either the CDDL, the GPL Version 2 or
33
 * to extend the choice of license to its licensees as provided above.
34
 * However, if you add GPL Version 2 code and therefore, elected the GPL
35
 * Version 2 license, then the option applies only if the new code is
36
 * made subject to such option by the copyright holder.
37
 *
38
 * Contributor(s):
39
 *
40
 * Portions Copyrighted 2014 Sun Microsystems, Inc.
41
 */
42
package org.netbeans.modules.web.clientproject.indirect;
43
44
/**
45
 *
46
 * @author jtulach
47
 */
48
public class AntProjectEvent {
49
    
50
}
(-)e7499d50abe0 (+109 lines)
Added Link Here
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 *
4
 * Copyright 2014 Oracle and/or its affiliates. All rights reserved.
5
 *
6
 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
7
 * Other names may be trademarks of their respective owners.
8
 *
9
 * The contents of this file are subject to the terms of either the GNU
10
 * General Public License Version 2 only ("GPL") or the Common
11
 * Development and Distribution License("CDDL") (collectively, the
12
 * "License"). You may not use this file except in compliance with the
13
 * License. You can obtain a copy of the License at
14
 * http://www.netbeans.org/cddl-gplv2.html
15
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
16
 * specific language governing permissions and limitations under the
17
 * License.  When distributing the software, include this License Header
18
 * Notice in each file and include the License file at
19
 * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
20
 * particular file as subject to the "Classpath" exception as provided
21
 * by Oracle in the GPL Version 2 section of the License file that
22
 * accompanied this code. If applicable, add the following below the
23
 * License Header, with the fields enclosed by brackets [] replaced by
24
 * your own identifying information:
25
 * "Portions Copyrighted [year] [name of copyright owner]"
26
 *
27
 * If you wish your version of this file to be governed by only the CDDL
28
 * or only the GPL Version 2, indicate your decision by adding
29
 * "[Contributor] elects to include this software in this distribution
30
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
31
 * single choice of license, a recipient has the option to distribute
32
 * your version of this file under either the CDDL, the GPL Version 2 or
33
 * to extend the choice of license to its licensees as provided above.
34
 * However, if you add GPL Version 2 code and therefore, elected the GPL
35
 * Version 2 license, then the option applies only if the new code is
36
 * made subject to such option by the copyright holder.
37
 *
38
 * Contributor(s):
39
 *
40
 * Portions Copyrighted 2014 Sun Microsystems, Inc.
41
 */
42
package org.netbeans.modules.web.clientproject.indirect;
43
44
import java.io.File;
45
import org.netbeans.spi.project.AuxiliaryConfiguration;
46
import org.netbeans.spi.queries.SharabilityQueryImplementation2;
47
import org.openide.filesystems.FileObject;
48
import org.openide.util.EditableProperties;
49
import org.w3c.dom.Element;
50
51
/**
52
 */
53
public class AntProjectHelper {
54
    public static Object PRIVATE_PROPERTIES_PATH = new Object();
55
    public static Object PROJECT_PROPERTIES_PATH = new Object();
56
57
    public EditableProperties getProperties(Object PRIVATE_PROPERTIES_PATH) {
58
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
59
    }
60
61
    public void putProperties(Object PRIVATE_PROPERTIES_PATH, EditableProperties privateProps) {
62
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
63
    }
64
65
    public SharabilityQueryImplementation2 createSharabilityQuery2(PropertyEvaluator evaluator, String[] toArray, String[] string) {
66
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
67
    }
68
69
    public PropertyEvaluator getStandardPropertyEvaluator() {
70
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
71
    }
72
73
    public File resolveFile(String licensePath) {
74
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
75
    }
76
77
    public FileObject getProjectDirectory() {
78
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
79
    }
80
81
    public FileObject resolveFileObject(String sourceFolder) {
82
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
83
    }
84
85
    public void notifyDeleted() {
86
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
87
    }
88
89
    public AuxiliaryConfiguration createAuxiliaryConfiguration() {
90
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
91
    }
92
    
93
    public void addAntProjectListener(AntProjectListener l) {
94
    }
95
    public void removeAntProjectListener(AntProjectListener l) {
96
    }
97
98
    public Element getPrimaryConfigurationData(boolean b) {
99
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
100
    }
101
102
    public Object createCacheDirectoryProvider() {
103
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
104
    }
105
106
    public Object createAuxiliaryProperties() {
107
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
108
    }
109
}
(-)e7499d50abe0 (+51 lines)
Added Link Here
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 *
4
 * Copyright 2014 Oracle and/or its affiliates. All rights reserved.
5
 *
6
 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
7
 * Other names may be trademarks of their respective owners.
8
 *
9
 * The contents of this file are subject to the terms of either the GNU
10
 * General Public License Version 2 only ("GPL") or the Common
11
 * Development and Distribution License("CDDL") (collectively, the
12
 * "License"). You may not use this file except in compliance with the
13
 * License. You can obtain a copy of the License at
14
 * http://www.netbeans.org/cddl-gplv2.html
15
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
16
 * specific language governing permissions and limitations under the
17
 * License.  When distributing the software, include this License Header
18
 * Notice in each file and include the License file at
19
 * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
20
 * particular file as subject to the "Classpath" exception as provided
21
 * by Oracle in the GPL Version 2 section of the License file that
22
 * accompanied this code. If applicable, add the following below the
23
 * License Header, with the fields enclosed by brackets [] replaced by
24
 * your own identifying information:
25
 * "Portions Copyrighted [year] [name of copyright owner]"
26
 *
27
 * If you wish your version of this file to be governed by only the CDDL
28
 * or only the GPL Version 2, indicate your decision by adding
29
 * "[Contributor] elects to include this software in this distribution
30
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
31
 * single choice of license, a recipient has the option to distribute
32
 * your version of this file under either the CDDL, the GPL Version 2 or
33
 * to extend the choice of license to its licensees as provided above.
34
 * However, if you add GPL Version 2 code and therefore, elected the GPL
35
 * Version 2 license, then the option applies only if the new code is
36
 * made subject to such option by the copyright holder.
37
 *
38
 * Contributor(s):
39
 *
40
 * Portions Copyrighted 2014 Sun Microsystems, Inc.
41
 */
42
package org.netbeans.modules.web.clientproject.indirect;
43
44
import java.util.EventListener;
45
46
/**
47
 */
48
public interface AntProjectListener extends EventListener {
49
    public void configurationXmlChanged(AntProjectEvent ev);
50
    public void propertiesChanged(AntProjectEvent ev);
51
}
(-)e7499d50abe0 (+108 lines)
Added Link Here
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 *
4
 * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
5
 *
6
 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
7
 * Other names may be trademarks of their respective owners.
8
 *
9
 * The contents of this file are subject to the terms of either the GNU
10
 * General Public License Version 2 only ("GPL") or the Common
11
 * Development and Distribution License("CDDL") (collectively, the
12
 * "License"). You may not use this file except in compliance with the
13
 * License. You can obtain a copy of the License at
14
 * http://www.netbeans.org/cddl-gplv2.html
15
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
16
 * specific language governing permissions and limitations under the
17
 * License.  When distributing the software, include this License Header
18
 * Notice in each file and include the License file at
19
 * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
20
 * particular file as subject to the "Classpath" exception as provided
21
 * by Oracle in the GPL Version 2 section of the License file that
22
 * accompanied this code. If applicable, add the following below the
23
 * License Header, with the fields enclosed by brackets [] replaced by
24
 * your own identifying information:
25
 * "Portions Copyrighted [year] [name of copyright owner]"
26
 *
27
 * Contributor(s):
28
 *
29
 * The Original Software is NetBeans. The Initial Developer of the Original
30
 * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
31
 * Microsystems, Inc. All Rights Reserved.
32
 *
33
 * If you wish your version of this file to be governed by only the CDDL
34
 * or only the GPL Version 2, indicate your decision by adding
35
 * "[Contributor] elects to include this software in this distribution
36
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
37
 * single choice of license, a recipient has the option to distribute
38
 * your version of this file under either the CDDL, the GPL Version 2 or
39
 * to extend the choice of license to its licensees as provided above.
40
 * However, if you add GPL Version 2 code and therefore, elected the GPL
41
 * Version 2 license, then the option applies only if the new code is
42
 * made subject to such option by the copyright holder.
43
 */
44
45
package org.netbeans.modules.web.clientproject.indirect;
46
47
import java.beans.PropertyChangeListener;
48
import java.util.Map;
49
import org.netbeans.api.annotations.common.CheckForNull;
50
import org.netbeans.api.annotations.common.NonNull;
51
52
/**
53
 * A way of mapping property names to values.
54
 * <p>
55
 * This interface defines no independent thread safety, but in typical usage
56
 * it will be used with the project manager mutex. Changes should be fired
57
 * synchronously.
58
 * @author Jesse Glick
59
 * @see PropertyUtils#sequentialPropertyEvaluator
60
 * @see AntProjectHelper#getStandardPropertyEvaluator
61
 */
62
public interface PropertyEvaluator {
63
64
    /**
65
     * Evaluate a single property.
66
     * @param prop the name of a property
67
     * @return its value, or null if it is not defined or its value could not be
68
     *         retrieved for some reason (e.g. a circular definition)
69
     */
70
    @CheckForNull String getProperty(@NonNull String prop);
71
    
72
    /**
73
     * Evaluate a block of text possibly containing property references.
74
     * The syntax is the same as for Ant: <samp>${foo}</samp> means the value
75
     * of the property <samp>foo</samp>; <samp>$$</samp> is an escape for
76
     * <samp>$</samp>; references to undefined properties are left unsubstituted.
77
     * @param text some text possibly containing one or more property references
78
     * @return its value, or null if some problem (such a circular definition) made
79
     *         it impossible to retrieve the values of some properties
80
     */
81
    @CheckForNull String evaluate(@NonNull String text);
82
    
83
    /**
84
     * Get a set of all current property definitions at once.
85
     * This may be more efficient than evaluating individual properties,
86
     * depending on the implementation.
87
     * @return an immutable map from property names to values, or null if the
88
     *         mapping could not be computed (e.g. due to a circular definition)
89
     */
90
    @CheckForNull Map<String,String> getProperties();
91
    
92
    /**
93
     * Add a listener to changes in particular property values.
94
     * As generally true with property change listeners, the old and new
95
     * values may both be null in case the true values are not known or not
96
     * easily computed; and the property name might be null to signal that any
97
     * property might have changed.
98
     * @param listener a listener to add
99
     */
100
    void addPropertyChangeListener(PropertyChangeListener listener);
101
    
102
    /**
103
     * Remove a listener to changes in particular property values.
104
     * @param listener a listener to remove
105
     */
106
    void removePropertyChangeListener(PropertyChangeListener listener);
107
    
108
}
(-)e7499d50abe0 (+65 lines)
Added Link Here
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 *
4
 * Copyright 2014 Oracle and/or its affiliates. All rights reserved.
5
 *
6
 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
7
 * Other names may be trademarks of their respective owners.
8
 *
9
 * The contents of this file are subject to the terms of either the GNU
10
 * General Public License Version 2 only ("GPL") or the Common
11
 * Development and Distribution License("CDDL") (collectively, the
12
 * "License"). You may not use this file except in compliance with the
13
 * License. You can obtain a copy of the License at
14
 * http://www.netbeans.org/cddl-gplv2.html
15
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
16
 * specific language governing permissions and limitations under the
17
 * License.  When distributing the software, include this License Header
18
 * Notice in each file and include the License file at
19
 * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
20
 * particular file as subject to the "Classpath" exception as provided
21
 * by Oracle in the GPL Version 2 section of the License file that
22
 * accompanied this code. If applicable, add the following below the
23
 * License Header, with the fields enclosed by brackets [] replaced by
24
 * your own identifying information:
25
 * "Portions Copyrighted [year] [name of copyright owner]"
26
 *
27
 * If you wish your version of this file to be governed by only the CDDL
28
 * or only the GPL Version 2, indicate your decision by adding
29
 * "[Contributor] elects to include this software in this distribution
30
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
31
 * single choice of license, a recipient has the option to distribute
32
 * your version of this file under either the CDDL, the GPL Version 2 or
33
 * to extend the choice of license to its licensees as provided above.
34
 * However, if you add GPL Version 2 code and therefore, elected the GPL
35
 * Version 2 license, then the option applies only if the new code is
36
 * made subject to such option by the copyright holder.
37
 *
38
 * Contributor(s):
39
 *
40
 * Portions Copyrighted 2014 Sun Microsystems, Inc.
41
 */
42
package org.netbeans.modules.web.clientproject.indirect;
43
44
import java.io.File;
45
import org.netbeans.spi.project.AuxiliaryConfiguration;
46
47
/**
48
 *
49
 * @author jtulach
50
 */
51
public class ReferenceHelper {
52
53
    public ReferenceHelper(AntProjectHelper helper, AuxiliaryConfiguration configuration, PropertyEvaluator eval) {
54
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
55
    }
56
57
    public void fixReferences(File originalPath) {
58
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
59
    }
60
61
    public String createForeignFileReference(File file, Object object) {
62
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
63
    }
64
    
65
}
(-)e7499d50abe0 (+81 lines)
Added Link Here
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 *
4
 * Copyright 2014 Oracle and/or its affiliates. All rights reserved.
5
 *
6
 * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
7
 * Other names may be trademarks of their respective owners.
8
 *
9
 * The contents of this file are subject to the terms of either the GNU
10
 * General Public License Version 2 only ("GPL") or the Common
11
 * Development and Distribution License("CDDL") (collectively, the
12
 * "License"). You may not use this file except in compliance with the
13
 * License. You can obtain a copy of the License at
14
 * http://www.netbeans.org/cddl-gplv2.html
15
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
16
 * specific language governing permissions and limitations under the
17
 * License.  When distributing the software, include this License Header
18
 * Notice in each file and include the License file at
19
 * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
20
 * particular file as subject to the "Classpath" exception as provided
21
 * by Oracle in the GPL Version 2 section of the License file that
22
 * accompanied this code. If applicable, add the following below the
23
 * License Header, with the fields enclosed by brackets [] replaced by
24
 * your own identifying information:
25
 * "Portions Copyrighted [year] [name of copyright owner]"
26
 *
27
 * If you wish your version of this file to be governed by only the CDDL
28
 * or only the GPL Version 2, indicate your decision by adding
29
 * "[Contributor] elects to include this software in this distribution
30
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
31
 * single choice of license, a recipient has the option to distribute
32
 * your version of this file under either the CDDL, the GPL Version 2 or
33
 * to extend the choice of license to its licensees as provided above.
34
 * However, if you add GPL Version 2 code and therefore, elected the GPL
35
 * Version 2 license, then the option applies only if the new code is
36
 * made subject to such option by the copyright holder.
37
 *
38
 * Contributor(s):
39
 *
40
 * Portions Copyrighted 2014 Sun Microsystems, Inc.
41
 */
42
package org.netbeans.modules.web.clientproject.indirect;
43
44
import org.netbeans.api.project.Sources;
45
import org.netbeans.modules.web.clientproject.ClientSideProject;
46
47
/**
48
 *
49
 * @author jtulach
50
 */
51
public class SourcesHelper {
52
53
    public SourcesHelper(ClientSideProject project, AntProjectHelper helper, PropertyEvaluator evaluator) {
54
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
55
    }
56
57
    public SourcesHelper sourceRoot(String string) {
58
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
59
    }
60
61
    public SourcesHelper displayName(String message) {
62
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
63
    }
64
65
    public SourcesHelper add() {
66
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
67
    }
68
69
    public SourcesHelper type(String SOURCES_TYPE_HTML5) {
70
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
71
    }
72
73
    public void registerExternalRoots(int EXTERNAL_ALGORITHM_TRANSIENT) {
74
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
75
    }
76
77
    public Sources createSources() {
78
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
79
    }
80
    
81
}
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/problems/ProjectPropertiesProblemProvider.java (-1 / +1 lines)
Lines 51-58 Link Here
51
import java.util.concurrent.CopyOnWriteArrayList;
51
import java.util.concurrent.CopyOnWriteArrayList;
52
import org.netbeans.modules.web.clientproject.ClientSideProject;
52
import org.netbeans.modules.web.clientproject.ClientSideProject;
53
import org.netbeans.modules.web.clientproject.ClientSideProjectConstants;
53
import org.netbeans.modules.web.clientproject.ClientSideProjectConstants;
54
import org.netbeans.modules.web.clientproject.indirect.PropertyEvaluator;
54
import org.netbeans.modules.web.clientproject.ui.customizer.CompositePanelProviderImpl;
55
import org.netbeans.modules.web.clientproject.ui.customizer.CompositePanelProviderImpl;
55
import org.netbeans.spi.project.support.ant.PropertyEvaluator;
56
import org.netbeans.spi.project.ui.ProjectProblemsProvider;
56
import org.netbeans.spi.project.ui.ProjectProblemsProvider;
57
import org.netbeans.spi.project.ui.support.ProjectProblemsProviderSupport;
57
import org.netbeans.spi.project.ui.support.ProjectProblemsProviderSupport;
58
import org.openide.filesystems.FileAttributeEvent;
58
import org.openide.filesystems.FileAttributeEvent;
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/sites/SiteZip.java (-1 / +1 lines)
Lines 62-70 Link Here
62
import org.netbeans.modules.web.clientproject.util.FileUtilities;
62
import org.netbeans.modules.web.clientproject.util.FileUtilities;
63
import org.netbeans.modules.web.clientproject.util.FileUtilities.ZipEntryFilter;
63
import org.netbeans.modules.web.clientproject.util.FileUtilities.ZipEntryFilter;
64
import org.netbeans.modules.web.clientproject.util.FileUtilities.ZipEntryTask;
64
import org.netbeans.modules.web.clientproject.util.FileUtilities.ZipEntryTask;
65
import org.netbeans.spi.project.support.ant.EditableProperties;
66
import org.openide.filesystems.FileObject;
65
import org.openide.filesystems.FileObject;
67
import org.openide.util.ChangeSupport;
66
import org.openide.util.ChangeSupport;
67
import org.openide.util.EditableProperties;
68
import org.openide.util.NbBundle;
68
import org.openide.util.NbBundle;
69
import org.openide.util.NbPreferences;
69
import org.openide.util.NbPreferences;
70
70
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/ui/ClientSideProjectLogicalView.java (-1 / +1 lines)
Lines 74-83 Link Here
74
import org.netbeans.modules.web.clientproject.api.jstesting.JsTestingProviders;
74
import org.netbeans.modules.web.clientproject.api.jstesting.JsTestingProviders;
75
import org.netbeans.modules.web.clientproject.api.platform.PlatformProvider;
75
import org.netbeans.modules.web.clientproject.api.platform.PlatformProvider;
76
import org.netbeans.modules.web.clientproject.api.remotefiles.RemoteFilesNodeFactory;
76
import org.netbeans.modules.web.clientproject.api.remotefiles.RemoteFilesNodeFactory;
77
import org.netbeans.modules.web.clientproject.indirect.PropertyEvaluator;
77
import org.netbeans.modules.web.clientproject.spi.platform.ClientProjectEnhancedBrowserImplementation;
78
import org.netbeans.modules.web.clientproject.spi.platform.ClientProjectEnhancedBrowserImplementation;
78
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
79
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
79
import org.netbeans.spi.project.ActionProvider;
80
import org.netbeans.spi.project.ActionProvider;
80
import org.netbeans.spi.project.support.ant.PropertyEvaluator;
81
import org.netbeans.spi.project.ui.LogicalViewProvider;
81
import org.netbeans.spi.project.ui.LogicalViewProvider;
82
import org.netbeans.spi.project.ui.ProjectProblemsProvider;
82
import org.netbeans.spi.project.ui.ProjectProblemsProvider;
83
import org.netbeans.spi.project.ui.support.CommonProjectActions;
83
import org.netbeans.spi.project.ui.support.CommonProjectActions;
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/ui/customizer/ClientSideProjectProperties.java (-2 / +2 lines)
Lines 59-69 Link Here
59
import org.netbeans.modules.web.clientproject.api.jslibs.JavaScriptLibrarySelectionPanel.SelectedLibrary;
59
import org.netbeans.modules.web.clientproject.api.jslibs.JavaScriptLibrarySelectionPanel.SelectedLibrary;
60
import org.netbeans.modules.web.clientproject.api.platform.PlatformProvider;
60
import org.netbeans.modules.web.clientproject.api.platform.PlatformProvider;
61
import org.netbeans.modules.web.clientproject.api.platform.PlatformProviders;
61
import org.netbeans.modules.web.clientproject.api.platform.PlatformProviders;
62
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
62
import org.netbeans.modules.web.clientproject.spi.platform.ClientProjectEnhancedBrowserImplementation;
63
import org.netbeans.modules.web.clientproject.spi.platform.ClientProjectEnhancedBrowserImplementation;
63
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
64
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
64
import org.netbeans.spi.project.support.ant.AntProjectHelper;
65
import org.netbeans.spi.project.support.ant.EditableProperties;
66
import org.openide.filesystems.FileUtil;
65
import org.openide.filesystems.FileUtil;
66
import org.openide.util.EditableProperties;
67
import org.openide.util.Mutex;
67
import org.openide.util.Mutex;
68
import org.openide.util.MutexException;
68
import org.openide.util.MutexException;
69
import org.openide.util.NbBundle;
69
import org.openide.util.NbBundle;
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/ui/customizer/LicensePanelSupport.java (-3 / +3 lines)
Lines 47-58 Link Here
47
import java.io.OutputStream;
47
import java.io.OutputStream;
48
import org.netbeans.api.annotations.common.NonNull;
48
import org.netbeans.api.annotations.common.NonNull;
49
import org.netbeans.api.annotations.common.NullAllowed;
49
import org.netbeans.api.annotations.common.NullAllowed;
50
import org.netbeans.spi.project.support.ant.AntProjectHelper;
50
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
51
import org.netbeans.spi.project.support.ant.EditableProperties;
51
import org.netbeans.modules.web.clientproject.indirect.PropertyEvaluator;
52
import org.netbeans.spi.project.support.ant.PropertyEvaluator;
53
import org.netbeans.spi.project.support.ant.ui.CustomizerUtilities;
52
import org.netbeans.spi.project.support.ant.ui.CustomizerUtilities;
54
import org.openide.filesystems.FileObject;
53
import org.openide.filesystems.FileObject;
55
import org.openide.filesystems.FileUtil;
54
import org.openide.filesystems.FileUtil;
55
import org.openide.util.EditableProperties;
56
56
57
// copied from web.common
57
// copied from web.common
58
public final class LicensePanelSupport implements CustomizerUtilities.LicensePanelContentHandler {
58
public final class LicensePanelSupport implements CustomizerUtilities.LicensePanelContentHandler {
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/ui/wizard/ClientSideProjectWizardIterator.java (-1 / +1 lines)
Lines 66-77 Link Here
66
import org.netbeans.modules.web.clientproject.ClientSideProject;
66
import org.netbeans.modules.web.clientproject.ClientSideProject;
67
import org.netbeans.modules.web.clientproject.ClientSideProjectConstants;
67
import org.netbeans.modules.web.clientproject.ClientSideProjectConstants;
68
import org.netbeans.modules.web.clientproject.api.jslibs.JavaScriptLibraries;
68
import org.netbeans.modules.web.clientproject.api.jslibs.JavaScriptLibraries;
69
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
69
import org.netbeans.modules.web.clientproject.spi.ClientProjectExtender;
70
import org.netbeans.modules.web.clientproject.spi.ClientProjectExtender;
70
import org.netbeans.modules.web.clientproject.spi.SiteTemplateImplementation;
71
import org.netbeans.modules.web.clientproject.spi.SiteTemplateImplementation;
71
import org.netbeans.modules.web.clientproject.spi.SiteTemplateImplementation.ProjectProperties;
72
import org.netbeans.modules.web.clientproject.spi.SiteTemplateImplementation.ProjectProperties;
72
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
73
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
73
import org.netbeans.modules.web.clientproject.util.FileUtilities;
74
import org.netbeans.modules.web.clientproject.util.FileUtilities;
74
import org.netbeans.spi.project.support.ant.AntProjectHelper;
75
import org.netbeans.spi.project.ui.support.ProjectChooser;
75
import org.netbeans.spi.project.ui.support.ProjectChooser;
76
import org.openide.DialogDisplayer;
76
import org.openide.DialogDisplayer;
77
import org.openide.NotifyDescriptor;
77
import org.openide.NotifyDescriptor;
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/ui/wizard/CreateSiteTemplate.java (-1 / +1 lines)
Lines 69-75 Link Here
69
import org.netbeans.modules.web.clientproject.sites.SiteZip;
69
import org.netbeans.modules.web.clientproject.sites.SiteZip;
70
import org.netbeans.modules.web.clientproject.ui.customizer.ClientSideProjectProperties;
70
import org.netbeans.modules.web.clientproject.ui.customizer.ClientSideProjectProperties;
71
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
71
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
72
import org.netbeans.spi.project.support.ant.EditableProperties;
73
import org.openide.DialogDisplayer;
72
import org.openide.DialogDisplayer;
74
import org.openide.NotifyDescriptor;
73
import org.openide.NotifyDescriptor;
75
import org.openide.WizardDescriptor;
74
import org.openide.WizardDescriptor;
Lines 86-91 Link Here
86
import org.openide.nodes.FilterNode;
85
import org.openide.nodes.FilterNode;
87
import org.openide.nodes.Node;
86
import org.openide.nodes.Node;
88
import org.openide.util.ChangeSupport;
87
import org.openide.util.ChangeSupport;
88
import org.openide.util.EditableProperties;
89
import org.openide.util.Exceptions;
89
import org.openide.util.Exceptions;
90
import org.openide.util.HelpCtx;
90
import org.openide.util.HelpCtx;
91
import org.openide.util.NbBundle;
91
import org.openide.util.NbBundle;
(-)a/web.clientproject/src/org/netbeans/modules/web/clientproject/util/ClientSideProjectUtilities.java (-3 / +1 lines)
Lines 69-78 Link Here
69
import org.netbeans.modules.web.clientproject.api.jstesting.JsTestingProviders;
69
import org.netbeans.modules.web.clientproject.api.jstesting.JsTestingProviders;
70
import org.netbeans.modules.web.clientproject.api.platform.PlatformProvider;
70
import org.netbeans.modules.web.clientproject.api.platform.PlatformProvider;
71
import org.netbeans.modules.web.clientproject.api.platform.PlatformProviders;
71
import org.netbeans.modules.web.clientproject.api.platform.PlatformProviders;
72
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
72
import org.netbeans.modules.web.clientproject.ui.customizer.ClientSideProjectProperties;
73
import org.netbeans.modules.web.clientproject.ui.customizer.ClientSideProjectProperties;
73
import org.netbeans.spi.project.support.ant.AntProjectHelper;
74
import org.netbeans.spi.project.support.ant.ProjectGenerator;
75
import org.netbeans.spi.project.support.ant.PropertyUtils;
76
import org.netbeans.spi.project.ui.ProjectProblemsProvider;
74
import org.netbeans.spi.project.ui.ProjectProblemsProvider;
77
import org.openide.filesystems.FileObject;
75
import org.openide.filesystems.FileObject;
78
import org.openide.filesystems.FileUtil;
76
import org.openide.filesystems.FileUtil;
(-)a/web.clientproject/test/unit/src/org/netbeans/modules/web/clientproject/ClientSideProjectTest.java (-1 / +1 lines)
Lines 53-65 Link Here
53
import org.netbeans.junit.NbTestCase;
53
import org.netbeans.junit.NbTestCase;
54
import org.netbeans.modules.web.browser.api.BrowserFamilyId;
54
import org.netbeans.modules.web.browser.api.BrowserFamilyId;
55
import org.netbeans.modules.web.browser.spi.EnhancedBrowserFactory;
55
import org.netbeans.modules.web.browser.spi.EnhancedBrowserFactory;
56
import org.netbeans.modules.web.clientproject.indirect.AntProjectHelper;
56
import org.netbeans.modules.web.clientproject.sites.SiteZip;
57
import org.netbeans.modules.web.clientproject.sites.SiteZip;
57
import org.netbeans.modules.web.clientproject.sites.SiteZipPanel;
58
import org.netbeans.modules.web.clientproject.sites.SiteZipPanel;
58
import org.netbeans.modules.web.clientproject.spi.SiteTemplateImplementation;
59
import org.netbeans.modules.web.clientproject.spi.SiteTemplateImplementation;
59
import org.netbeans.modules.web.clientproject.ui.customizer.ClientSideProjectProperties;
60
import org.netbeans.modules.web.clientproject.ui.customizer.ClientSideProjectProperties;
60
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
61
import org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities;
61
import org.netbeans.spi.project.ProjectServiceProvider;
62
import org.netbeans.spi.project.ProjectServiceProvider;
62
import org.netbeans.spi.project.support.ant.AntProjectHelper;
63
import org.netbeans.spi.project.ui.ProjectProblemsProvider;
63
import org.netbeans.spi.project.ui.ProjectProblemsProvider;
64
import org.openide.awt.HtmlBrowser;
64
import org.openide.awt.HtmlBrowser;
65
import org.openide.filesystems.FileObject;
65
import org.openide.filesystems.FileObject;

Return to bug 247927