[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/TestSerial Makefile, 1.1.2.5, 1.1.2.6 TestSerial.java, 1.1.2.3, 1.1.2.4

David Gay idgay at users.sourceforge.net
Tue Jun 13 09:27:34 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/TestSerial
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv22500

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	Makefile TestSerial.java 
Log Message:
fix Makefile to not require . in CLASSPATH
add cleaning support


Index: Makefile
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/TestSerial/Attic/Makefile,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -C2 -d -r1.1.2.5 -r1.1.2.6
*** Makefile	16 Jan 2006 01:22:49 -0000	1.1.2.5
--- Makefile	13 Jun 2006 16:27:32 -0000	1.1.2.6
***************
*** 1,8 ****
  COMPONENT=TestSerialAppC
  CFLAGS += -I%T/lib/oski
! BUILD_EXTRA_DEPS += TestSerialMsg.class TestSerial.class
  
! %.class: %.java
! 	javac $<
  
  TestSerialMsg.java:
--- 1,9 ----
  COMPONENT=TestSerialAppC
  CFLAGS += -I%T/lib/oski
! BUILD_EXTRA_DEPS += TestSerial.class
! CLEAN_EXTRA = *.class TestSerialMsg.java
  
! TestSerial.class: $(wildcard *.java) TestSerialMsg.java
! 	javac *.java
  
  TestSerialMsg.java:

Index: TestSerial.java
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/TestSerial/Attic/TestSerial.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** TestSerial.java	16 Jan 2006 01:22:49 -0000	1.1.2.3
--- TestSerial.java	13 Jun 2006 16:27:32 -0000	1.1.2.4
***************
*** 76,80 ****
    
    public static void main(String[] args) throws Exception {
!     String source = "";
      System.out.println("hello");
      if (args.length == 2) {
--- 76,80 ----
    
    public static void main(String[] args) throws Exception {
!     String source = null;
      System.out.println("hello");
      if (args.length == 2) {



More information about the Tinyos-2-commits mailing list