Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/beta-2013-compatibility'
Browse files Browse the repository at this point in the history
Making beta changes permanent (to master), to support curent 2013 library.
  • Loading branch information
Abdullah Fahad committed Jan 15, 2013
2 parents 5ceefae + f509a15 commit 64d6a89
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 2 deletions.
109 changes: 109 additions & 0 deletions nbproject/project.bak.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This is a sample netbeans project file for a Sun Spot Application project.
You may edit it freely, it doesn't affect the ant-powered build.
-->
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.ant.freeform</type>
<configuration>
<general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
<name>joebot</name>
<properties>
<property-file>${user.home}/.sunspotfrc.properties</property-file>
<property-file>build.properties</property-file>
<property-file>${sunspot.home}/default.properties</property-file>
</properties>
<folders>
<source-folder>
<label>src</label>
<type>java</type>
<location>src</location>
</source-folder>
</folders>
<ide-actions>
<action name="build">
<target>jar-app</target>
</action>
<action name="clean">
<target>clean</target>
</action>
<action name="run">
<target>deploy</target>
<target>run</target>
</action>
<action name="rebuild">
<target>clean</target>
<target>jar-app</target>
</action>
<action name="debug">
<target>deploy</target>
<target>debug-run</target>
</action>
<action name="javadoc">
<target>javadoc</target>
</action>
<action name="compile.single">
<script>nbproject/ide-file-targets.xml</script>
<target>compile-selected-files-in-src</target>
<context>
<property>files</property>
<folder>src</folder>
<pattern>\.java$</pattern>
<format>relative-path</format>
<arity>
<separated-files>,</separated-files>
</arity>
</context>
</action>
</ide-actions>
<export>
<type>folder</type>
<location>build</location>
<build-target>jar-app</build-target>
</export>
<view>
<items>
<source-folder style="packages">
<label>src</label>
<location>src</location>
</source-folder>
<source-file>
<location>build.xml</location>
</source-file>
</items>
<context-menu>
<ide-action name="build"/>
<ide-action name="clean"/>
<ide-action name="run"/>
<ide-action name="rebuild"/>
<ide-action name="debug"/>
<ide-action name="javadoc"/>
<action>
<label>Sun SPOT-deploy</label>
<target>deploy</target>
</action>
<action>
<label>Sun SPOT-jar-deploy</label>
<target>jar-deploy</target>
</action>
<separator/>
</context-menu>
</view>
<subprojects/>
</general-data>
<java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
<compilation-unit>
<package-root>src</package-root>
<classpath mode="boot">${sunspot.bootclasspath}</classpath>
<classpath mode="compile">${wpilibj.home}/classes.jar</classpath>
<built-to>build</built-to>
<source-level>1.4</source-level>
</compilation-unit>
</java-data>
<spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1">
<word>wheel's</word>
</spellchecker-wordlist>
</configuration>
</project>
4 changes: 2 additions & 2 deletions src/edu/stuy/util/InverseDigitalIOButton.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public InverseDigitalIOButton(int port) {
}

private NetworkTable table;
public NetworkTable getTable() {
public NetworkTable getTable(String key) {
if (table == null) {
table = new NetworkTable();
table = NetworkTable.getTable(key);
table.putBoolean("pressed", get());
}
return table;
Expand Down

0 comments on commit 64d6a89

Please sign in to comment.