[ http://issues.apache.org/jira/browse/DERBY-223?page=all ]

Mike Matrigali updated DERBY-223:
---------------------------------

      Component: Demos/Scripts
    Description: 
Currently if you build the demos under eclipse, it gives the following errors:

Severity        Description     Resource        In Folder       Location        
Creation Time
2       The declared package does not match the expected package nserverdemo    
SimpleNetworkClientSample.java  derby-trunk/java/demo/nserverdemo       line 1  
April 14, 2005 9:32:35 AM
2       The declared package does not match the expected package nserverdemo    
SimpleNetworkServerSample.java  derby-trunk/java/demo/nserverdemo       line 1  
April 14, 2005 9:32:35 AM
2       The declared package does not match the expected package simple 
SimpleApp.java  derby-trunk/java/demo/simple    line 1  April 14, 2005 9:32:35 
AM

The following demo src files (and their associated documentation for running 
them) should be changed so that they specify the package "nserverdemo" so they 
are consistent with the other java source files in the same directory:

java/demo/nserverdemo/SimpleNetworkClientSample.java
java/demo/nserverdemo/SimpleNetworkServerSample.java

The following demo src files (and their associated documentation for running 
them) should be changed so that they specify the package "simple" so they are 
consistent with the other java source files in the nserverdemo directory:

java/demo/simple/SimpleApp.java


  was:
Currently if you build the demos under eclipse, it gives the following errors:

Severity        Description     Resource        In Folder       Location        
Creation Time
2       The declared package does not match the expected package nserverdemo    
SimpleNetworkClientSample.java  derby-trunk/java/demo/nserverdemo       line 1  
April 14, 2005 9:32:35 AM
2       The declared package does not match the expected package nserverdemo    
SimpleNetworkServerSample.java  derby-trunk/java/demo/nserverdemo       line 1  
April 14, 2005 9:32:35 AM
2       The declared package does not match the expected package simple 
SimpleApp.java  derby-trunk/java/demo/simple    line 1  April 14, 2005 9:32:35 
AM

The following demo src files (and their associated documentation for running 
them) should be changed so that they specify the package "nserverdemo" so they 
are consistent with the other java source files in the same directory:

java/demo/nserverdemo/SimpleNetworkClientSample.java
java/demo/nserverdemo/SimpleNetworkServerSample.java

The following demo src files (and their associated documentation for running 
them) should be changed so that they specify the package "simple" so they are 
consistent with the other java source files in the nserverdemo directory:

java/demo/simple/SimpleApp.java


    Environment: 

> Change programs under demo directory use consistent package names so IDEs do 
> not report errors
> ----------------------------------------------------------------------------------------------
>
>          Key: DERBY-223
>          URL: http://issues.apache.org/jira/browse/DERBY-223
>      Project: Derby
>         Type: Improvement
>   Components: Demos/Scripts
>     Reporter: John Sisson
>     Priority: Trivial

>
> Currently if you build the demos under eclipse, it gives the following errors:
> Severity      Description     Resource        In Folder       Location        
> Creation Time
> 2     The declared package does not match the expected package nserverdemo    
> SimpleNetworkClientSample.java  derby-trunk/java/demo/nserverdemo       line 
> 1  April 14, 2005 9:32:35 AM
> 2     The declared package does not match the expected package nserverdemo    
> SimpleNetworkServerSample.java  derby-trunk/java/demo/nserverdemo       line 
> 1  April 14, 2005 9:32:35 AM
> 2     The declared package does not match the expected package simple 
> SimpleApp.java  derby-trunk/java/demo/simple    line 1  April 14, 2005 
> 9:32:35 AM
> The following demo src files (and their associated documentation for running 
> them) should be changed so that they specify the package "nserverdemo" so 
> they are consistent with the other java source files in the same directory:
> java/demo/nserverdemo/SimpleNetworkClientSample.java
> java/demo/nserverdemo/SimpleNetworkServerSample.java
> The following demo src files (and their associated documentation for running 
> them) should be changed so that they specify the package "simple" so they are 
> consistent with the other java source files in the nserverdemo directory:
> java/demo/simple/SimpleApp.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to