-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a38b5a8
Showing
23 changed files
with
1,080 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,20 @@ | ||
.classpath | ||
.project | ||
.settings | ||
.DS_Store | ||
dependency-reduced-pom.xml | ||
target/ | ||
*.iml | ||
*.ipr | ||
*.iws | ||
*.swp | ||
/*/src/main/java/META-INF | ||
.gitignore.swp | ||
docs/reference/src/main/docbook/en-US/version_info.xml | ||
.idea | ||
.forge_settings | ||
.factorypath | ||
atlassian-ide-plugin.xml | ||
.externalToolBuilders | ||
.hg | ||
.hg* |
This file contains 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,155 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.jboss.forge.nb</groupId> | ||
<artifactId>jbossforge-parent</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>jbossforge-app</artifactId> | ||
<packaging>nbm-application</packaging> | ||
|
||
<name>jbossforge-app</name> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<all.clusters>${project.build.directory}/${brandingToken}</all.clusters> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.netbeans.cluster</groupId> | ||
<artifactId>platform</artifactId> | ||
<version>${netbeans.version}</version> | ||
<type>pom</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.cluster</groupId> | ||
<artifactId>extide</artifactId> | ||
<version>${netbeans.version}</version> | ||
<type>pom</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.cluster</groupId> | ||
<artifactId>ide</artifactId> | ||
<version>${netbeans.version}</version> | ||
<type>pom</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.cluster</groupId> | ||
<artifactId>java</artifactId> | ||
<version>${netbeans.version}</version> | ||
<type>pom</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-libs-junit4</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.cluster</groupId> | ||
<artifactId>harness</artifactId> | ||
<version>${netbeans.version}</version> | ||
<type>pom</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.cluster</groupId> | ||
<artifactId>profiler</artifactId> | ||
<version>${netbeans.version}</version> | ||
<type>pom</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.cluster</groupId> | ||
<artifactId>webcommon</artifactId> | ||
<version>${netbeans.version}</version> | ||
<type>pom</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.cluster</groupId> | ||
<artifactId>websvccommon</artifactId> | ||
<version>${netbeans.version}</version> | ||
<type>pom</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.netbeans.cluster</groupId> | ||
<artifactId>enterprise</artifactId> | ||
<version>${netbeans.version}</version> | ||
<type>pom</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>jbossforge-branding</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<!-- NbModuleSuite functional in RELEASE70 or later: --> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-modules-nbjunit</artifactId> | ||
<version>${netbeans.version}</version> | ||
<scope>test</scope> <!-- beyond platform cluster, this often needs to be dropped down to compile/runtime, some other modules in IDE clusters depend on it --> | ||
</dependency> | ||
<!-- To use Jelly Tools in your functional tests, add or replace with: | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-modules-jellytools-platform</artifactId> | ||
<version>${netbeans.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
--> | ||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>wizard</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>nbm-maven-plugin</artifactId> | ||
<configuration> | ||
<additionalArguments>-J-Xmx320m</additionalArguments> | ||
</configuration> | ||
</plugin> | ||
<!-- Permits NbModuleSuite to be run in integration-test phase: --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>2.12.2</version> | ||
<configuration> | ||
<systemPropertyVariables> | ||
<all.clusters>${all.clusters}</all.clusters> | ||
<branding.token>${brandingToken}</branding.token> | ||
</systemPropertyVariables> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>deployment</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>nbm-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>extra</id> | ||
<goals> | ||
<goal>autoupdate</goal> | ||
<goal>webstart-app</goal> | ||
<goal>build-installers</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
</project> |
32 changes: 32 additions & 0 deletions
32
application/src/test/java/org/jboss/forge/nb/ApplicationTest.java
This file contains 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,32 @@ | ||
package org.jboss.forge.nb; | ||
|
||
import java.util.logging.Level; | ||
import junit.framework.Test; | ||
import org.netbeans.junit.NbModuleSuite; | ||
import org.netbeans.junit.NbTestCase; | ||
|
||
public class ApplicationTest extends NbTestCase { | ||
|
||
public static Test suite() { | ||
return NbModuleSuite.createConfiguration(ApplicationTest.class). | ||
gui(false). | ||
// failOnMessage(Level.WARNING). // works at least in RELEASE71 | ||
// failOnException(Level.INFO). | ||
enableClasspathModules(false). | ||
clusters(".*"). | ||
suite(); // RELEASE71+, else use NbModuleSuite.create(NbModuleSuite.createConfiguration(...)) | ||
} | ||
|
||
public ApplicationTest(String n) { | ||
super(n); | ||
} | ||
|
||
public void testApplication() { | ||
// pass if there are merely no warnings/exceptions | ||
/* Example of using Jelly Tools (additional test dependencies required) with gui(true): | ||
new ActionNoBlock("Help|About", null).performMenu(); | ||
new NbDialogOperator("About").closeByButton(); | ||
*/ | ||
} | ||
|
||
} |
This file contains 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,44 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.jboss.forge.nb</groupId> | ||
<artifactId>jbossforge-parent</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>jbossforge-branding</artifactId> | ||
<packaging>nbm</packaging> | ||
|
||
<name>jbossforge-branding</name> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.netbeans.api</groupId> | ||
<artifactId>org-netbeans-api-annotations-common</artifactId> | ||
<version>${netbeans.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>nbm-maven-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<configuration> | ||
<!-- to have the jar plugin pickup the nbm generated manifest --> | ||
<useDefaultManifestFile>true</useDefaultManifestFile> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
2 changes: 2 additions & 0 deletions
2
branding/src/main/nbm-branding/core/core.jar/org/netbeans/core/startup/Bundle.properties
This file contains 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,2 @@ | ||
currentVersion=jbossforge {0} | ||
LBL_splash_window_title=Starting jbossforge |
2 changes: 2 additions & 0 deletions
2
...modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties
This file contains 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,2 @@ | ||
CTL_MainWindow_Title=jbossforge {0} | ||
CTL_MainWindow_Title_No_Project=jbossforge {0} |
1 change: 1 addition & 0 deletions
1
...rc/main/nbm-branding/modules/org-netbeans-core.jar/org/netbeans/core/ui/Bundle.properties
This file contains 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 @@ | ||
LBL_ProductInformation=jbossforge |
This file contains 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,3 @@ | ||
Manifest-Version: 1.0 | ||
OpenIDE-Module-Localizing-Bundle: org/jboss/forge/nb/branding/Bundle.properties | ||
AutoUpdate-Essential-Module: true |
5 changes: 5 additions & 0 deletions
5
branding/src/main/resources/org/jboss/forge/nb/branding/Bundle.properties
This file contains 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 @@ | ||
# Localized module labels. Defaults taken from POM (<name>, <description>, <groupId>) if unset. | ||
#OpenIDE-Module-Name= | ||
#OpenIDE-Module-Short-Description= | ||
#OpenIDE-Module-Long-Description= | ||
#OpenIDE-Module-Display-Category= |
This file contains 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,69 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.jboss.forge.nb</groupId> | ||
<artifactId>jbossforge-parent</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<name>jbossforge-parent</name> | ||
|
||
<repositories> | ||
<!-- | ||
Repository hosting NetBeans modules, especially APIs. | ||
Versions are based on IDE releases, e.g.: RELEASE691 | ||
To create your own repository, use: nbm:populate-repository | ||
--> | ||
<repository> | ||
<id>netbeans</id> | ||
<name>NetBeans</name> | ||
<url>http://bits.netbeans.org/nexus/content/groups/netbeans/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>nbm-maven-plugin</artifactId> | ||
<version>3.13</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<brandingToken>${brandingToken}</brandingToken> | ||
<cluster>${brandingToken}</cluster> | ||
<useOSGiDependencies>true</useOSGiDependencies> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<!-- NetBeans 6.9+ requires JDK 6, starting NetBeans 7.4 source 1.7 is required --> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.5.1</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>2.4</version> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
</build> | ||
|
||
<modules> | ||
<module>branding</module> | ||
<module>application</module> | ||
<module>wizard</module> | ||
</modules> | ||
|
||
<properties> | ||
<netbeans.version>RELEASE80</netbeans.version> | ||
<brandingToken>jbossforge</brandingToken> | ||
</properties> | ||
</project> |
Oops, something went wrong.