Permalink
Browse files

Get the Duby Plugin for NetBeans building again.

* Updated dependencies to more recent versions, since old ones are too old now
* Removed nbproject/private stuff, since it gets generated and references machine-specific locations
* Removed some unused and uncompilable code in DubyParser
* Added JUnit as a dependency
  • Loading branch information...
1 parent 44938b9 commit 1241edecfa9ba5c597bcbbd440de7b72fea8a7f0 @headius committed Apr 4, 2010
View
@@ -2,5 +2,6 @@ build
dist
pkg
nbproject/private
+Duby Plugin/nbproject/private
examples/appengine/war/
*.class
@@ -1,8 +1,8 @@
-build.xml.data.CRC32=549b805f
+build.xml.data.CRC32=b32b0a6b
build.xml.script.CRC32=c6ff82a7
-build.xml.stylesheet.CRC32=79c3b980@1.28.2.7
+build.xml.stylesheet.CRC32=79c3b980@1.31.1.7
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=549b805f
+nbproject/build-impl.xml.data.CRC32=b32b0a6b
nbproject/build-impl.xml.script.CRC32=2b293a18
-nbproject/build-impl.xml.stylesheet.CRC32=261c4bef@1.28.2.7
+nbproject/build-impl.xml.stylesheet.CRC32=261c4bef@1.31.1.7
@@ -24,12 +24,20 @@
</run-dependency>
</dependency>
<dependency>
+ <code-name-base>org.netbeans.libs.junit4</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>1.7.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
<code-name-base>org.netbeans.modules.csl.api</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>1</release-version>
- <specification-version>1.9.2.1.1.1.1</specification-version>
+ <specification-version>1.14.1.1.1.1.2</specification-version>
</run-dependency>
</dependency>
<dependency>
@@ -38,15 +46,16 @@
<compile-dependency/>
<run-dependency>
<release-version>2</release-version>
- <specification-version>1.30.2.1</specification-version>
+ <specification-version>1.33.1.1</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.modules.parsing.api</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
- <specification-version>1.16.2.1</specification-version>
+ <release-version>1</release-version>
+ <specification-version>1.26.1.2</specification-version>
</run-dependency>
</dependency>
<dependency>
@@ -58,22 +58,6 @@ private ParseResult parse(String text) {
}
}
- private Node parseRuby(Snapshot snapshot) {
- String source = snapshot.getText().toString();
- String fileName = "";
- Ruby18Parser rubyParser = new Ruby18Parser();
-
- final FileObject fo = snapshot.getSource().getFileObject();
- if (fo != null) {
- fileName = fo.getNameExt();
- }
-
- ParserConfiguration configuration = new ParserConfiguration(0, CompatVersion.RUBY1_8, true);
- LexerSource lexerSource =
- LexerSource.getSource(fileName, new StringReader(source), configuration);
- return rubyParser.parse(configuration, lexerSource).getAST();
- }
-
@Override
public void parse(Snapshot snapshot, Task arg1, SourceModificationEvent arg2) throws ParseException {
try {
@@ -1 +0,0 @@
-user.properties.file=/Users/ribrdb/.netbeans/6.7/build.properties

0 comments on commit 1241ede

Please sign in to comment.