Repository navigation
New project type for "generic" projects #9736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mbien
wants to merge
15
commits into
apache:master
Choose a base branch
from
mbien:generic-project
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,858
−0
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
f81a904
Seed NB repo with generic-project marker files
mbien 1711c98
initial gp impl
mbien e2f7415
project wizard
mbien 2632c1a
[action] open required projects
mbien e2c9547
[action] rename action + some refactoring
mbien d476e3e
general project properties
mbien df8802b
marker now optional
mbien 2f402e4
[action] common default actions + copy, move, delete + rename
mbien 0f6ec0d
refactored into packages
mbien 9ec3497
refactored base package
mbien 16c2ab0
fix FoD tests
mbien fc27d0c
register new-project action shadow
mbien cfe7c53
Dual purpose auxiliary properties: marker and config
mbien 36a7171
File filter properties
mbien a33d972
Open as Generic Project action
mbien File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
|
|
||
| Licensed to the Apache Software Foundation (ASF) under one | ||
| or more contributor license agreements. See the NOTICE file | ||
| distributed with this work for additional information | ||
| regarding copyright ownership. The ASF licenses this file | ||
| to you under the Apache License, Version 2.0 (the | ||
| "License"); you may not use this file except in compliance | ||
| with the License. You may obtain a copy of the License at | ||
|
|
||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, | ||
| software distributed under the License is distributed on an | ||
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, either express or implied. See the License for the | ||
| specific language governing permissions and limitations | ||
| under the License. | ||
|
|
||
| --> | ||
|
|
||
| <project name="ide/generic.project" default="build" basedir="."> | ||
| <import file="../../nbbuild/templates/projectized.xml"/> | ||
| </project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| Manifest-Version: 1.0 | ||
| OpenIDE-Module: org.netbeans.modules.generic.project | ||
| OpenIDE-Module-Layer: org/netbeans/modules/generic/project/layer.xml | ||
| OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/generic/project/Bundle.properties | ||
| OpenIDE-Module-Specification-Version: 1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| javac.compilerargs=-Xlint | ||
| javac.release=21 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,177 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
|
|
||
| Licensed to the Apache Software Foundation (ASF) under one | ||
| or more contributor license agreements. See the NOTICE file | ||
| distributed with this work for additional information | ||
| regarding copyright ownership. The ASF licenses this file | ||
| to you under the Apache License, Version 2.0 (the | ||
| "License"); you may not use this file except in compliance | ||
| with the License. You may obtain a copy of the License at | ||
|
|
||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, | ||
| software distributed under the License is distributed on an | ||
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, either express or implied. See the License for the | ||
| specific language governing permissions and limitations | ||
| under the License. | ||
|
|
||
| --> | ||
| <project xmlns="http://www.netbeans.org/ns/project/1"> | ||
| <type>org.netbeans.modules.apisupport.project</type> | ||
| <configuration> | ||
| <data xmlns="http://www.netbeans.org/ns/nb-module-project/3"> | ||
| <code-name-base>org.netbeans.modules.generic.project</code-name-base> | ||
| <module-dependencies> | ||
| <dependency> | ||
| <code-name-base>org.netbeans.api.annotations.common</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <release-version>1</release-version> | ||
| <specification-version>1.48</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.netbeans.api.templates</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <specification-version>1.28</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.netbeans.modules.projectapi</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <release-version>1</release-version> | ||
| <specification-version>1.106</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.netbeans.modules.projectuiapi</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <release-version>1</release-version> | ||
| <specification-version>1.95.0.8</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.netbeans.modules.projectuiapi.base</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <release-version>1</release-version> | ||
| <specification-version>1.101</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.netbeans.modules.queries</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <release-version>1</release-version> | ||
| <specification-version>1.27</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.openide.awt</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <specification-version>7.88</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.openide.dialogs</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <specification-version>7.66</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.openide.filesystems</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <specification-version>9.17</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.openide.loaders</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <specification-version>7.74</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.openide.nodes</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <specification-version>7.52</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.openide.util</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <specification-version>9.14</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.openide.util.ui</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <specification-version>9.15</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| <dependency> | ||
| <code-name-base>org.openide.util.lookup</code-name-base> | ||
| <build-prerequisite/> | ||
| <compile-dependency/> | ||
| <run-dependency> | ||
| <specification-version>8.40</specification-version> | ||
| </run-dependency> | ||
| </dependency> | ||
| </module-dependencies> | ||
| <test-dependencies> | ||
| <test-type> | ||
| <name>unit</name> | ||
| <test-dependency> | ||
| <code-name-base>org.netbeans.libs.junit4</code-name-base> | ||
| <compile-dependency/> | ||
| </test-dependency> | ||
| <test-dependency> | ||
| <code-name-base>org.netbeans.modules.masterfs</code-name-base> | ||
| <recursive/> | ||
| <compile-dependency/> | ||
| </test-dependency> | ||
| <test-dependency> | ||
| <code-name-base>org.netbeans.modules.nbjunit</code-name-base> | ||
| <recursive/> | ||
| <compile-dependency/> | ||
| </test-dependency> | ||
| <test-dependency> | ||
| <code-name-base>org.netbeans.modules.projectapi.nb</code-name-base> | ||
| <compile-dependency/> | ||
| </test-dependency> | ||
| <test-dependency> | ||
| <code-name-base>org.openide.util.lookup</code-name-base> | ||
| <compile-dependency/> | ||
| <test/> | ||
| </test-dependency> | ||
| </test-type> | ||
| </test-dependencies> | ||
| <public-packages/> | ||
| </data> | ||
| </configuration> | ||
| </project> | ||
19 changes: 19 additions & 0 deletions
19
ide/generic.project/src/org/netbeans/modules/generic/project/Bundle.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| OpenIDE-Module-Name=Generic Project | ||
| OpenIDE-Module-Display-Category=Base IDE |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public-packagesin thisgeneric.projectmodulegroup="layer"andgroup="java.io.File"APIsant javadocis likely to fail with any package/class being publicMARKER_FILEvalue?