[jira] Updated: (DERBY-1470) Correct instructions in demo html file demo\simple\example.html

2006-07-28 Thread Rick Hillegas (JIRA)
 [ http://issues.apache.org/jira/browse/DERBY-1470?page=all ]

Rick Hillegas updated DERBY-1470:
-

Urgency: Low

> Correct instructions in demo html file demo\simple\example.html
> ---
>
> Key: DERBY-1470
> URL: http://issues.apache.org/jira/browse/DERBY-1470
> Project: Derby
>  Issue Type: Bug
>  Components: Demos/Scripts
>Affects Versions: 10.2.0.0, 10.1.3.1
> Environment: Any platform on which we support derby
>Reporter: Ramandeep Kaur
> Assigned To: Ramandeep Kaur
>Priority: Minor
> Fix For: 10.2.0.0
>
>
>  In file demo\simple\example.html, under section "Next run the SimpleApp demo 
> in Derby client mode:", step 5
> "java org.apache.derby.tools.sysinfo -cp client SimpleApp.class" gives the 
> following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/derby/tools/sysinfo
> The above error is given because step 4 instructs to set path as following:
> export CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar
> Now as neither derby.jar or derbytool.jar is been added to the above 
> classpath, sysinfo file not found.
> Step 4 should instruct to set up path as following:
> export 
> CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar:${DERBY_INSTALL}/lib/derby.jar

-- 
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




[jira] Updated: (DERBY-1470) Correct instructions in demo html file demo\simple\example.html

2006-08-07 Thread Ramandeep Kaur (JIRA)
 [ http://issues.apache.org/jira/browse/DERBY-1470?page=all ]

Ramandeep Kaur updated DERBY-1470:
--

Attachment: DERBY-1470.diff

Submitting diffs. Please review it.

> Correct instructions in demo html file demo\simple\example.html
> ---
>
> Key: DERBY-1470
> URL: http://issues.apache.org/jira/browse/DERBY-1470
> Project: Derby
>  Issue Type: Bug
>  Components: Demos/Scripts
>Affects Versions: 10.2.0.0, 10.1.3.1
> Environment: Any platform on which we support derby
>Reporter: Ramandeep Kaur
> Assigned To: Ramandeep Kaur
>Priority: Minor
> Fix For: 10.2.0.0
>
> Attachments: DERBY-1470.diff
>
>
>  In file demo\simple\example.html, under section "Next run the SimpleApp demo 
> in Derby client mode:", step 5
> "java org.apache.derby.tools.sysinfo -cp client SimpleApp.class" gives the 
> following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/derby/tools/sysinfo
> The above error is given because step 4 instructs to set path as following:
> export CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar
> Now as neither derby.jar or derbytool.jar is been added to the above 
> classpath, sysinfo file not found.
> Step 4 should instruct to set up path as following:
> export 
> CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar:${DERBY_INSTALL}/lib/derby.jar

-- 
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




[jira] Updated: (DERBY-1470) Correct instructions in demo html file demo\simple\example.html

2006-08-07 Thread Andrew McIntyre (JIRA)
 [ http://issues.apache.org/jira/browse/DERBY-1470?page=all ]

Andrew McIntyre updated DERBY-1470:
---

Attachment: derby-1470-alt.diff

Attaching alternate patch for this issue, which adds sysinfo to 
derbyclient.jar, so that sysinfo can be obtained from a classpath that contains 
only the client jar.

> Correct instructions in demo html file demo\simple\example.html
> ---
>
> Key: DERBY-1470
> URL: http://issues.apache.org/jira/browse/DERBY-1470
> Project: Derby
>  Issue Type: Bug
>  Components: Demos/Scripts
>Affects Versions: 10.2.0.0, 10.1.3.1
> Environment: Any platform on which we support derby
>Reporter: Ramandeep Kaur
> Assigned To: Ramandeep Kaur
>Priority: Minor
> Fix For: 10.2.0.0
>
> Attachments: derby-1470-alt.diff, DERBY-1470.diff
>
>
>  In file demo\simple\example.html, under section "Next run the SimpleApp demo 
> in Derby client mode:", step 5
> "java org.apache.derby.tools.sysinfo -cp client SimpleApp.class" gives the 
> following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/derby/tools/sysinfo
> The above error is given because step 4 instructs to set path as following:
> export CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar
> Now as neither derby.jar or derbytool.jar is been added to the above 
> classpath, sysinfo file not found.
> Step 4 should instruct to set up path as following:
> export 
> CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar:${DERBY_INSTALL}/lib/derby.jar

-- 
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




[jira] Updated: (DERBY-1470) Correct instructions in demo html file demo\simple\example.html

2006-08-07 Thread Andrew McIntyre (JIRA)
 [ http://issues.apache.org/jira/browse/DERBY-1470?page=all ]

Andrew McIntyre updated DERBY-1470:
---

Derby Info: [Patch Available]

> Correct instructions in demo html file demo\simple\example.html
> ---
>
> Key: DERBY-1470
> URL: http://issues.apache.org/jira/browse/DERBY-1470
> Project: Derby
>  Issue Type: Bug
>  Components: Demos/Scripts
>Affects Versions: 10.2.0.0, 10.1.3.1
> Environment: Any platform on which we support derby
>Reporter: Ramandeep Kaur
> Assigned To: Ramandeep Kaur
>Priority: Minor
> Fix For: 10.2.0.0
>
> Attachments: derby-1470-alt.diff, DERBY-1470.diff
>
>
>  In file demo\simple\example.html, under section "Next run the SimpleApp demo 
> in Derby client mode:", step 5
> "java org.apache.derby.tools.sysinfo -cp client SimpleApp.class" gives the 
> following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/derby/tools/sysinfo
> The above error is given because step 4 instructs to set path as following:
> export CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar
> Now as neither derby.jar or derbytool.jar is been added to the above 
> classpath, sysinfo file not found.
> Step 4 should instruct to set up path as following:
> export 
> CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar:${DERBY_INSTALL}/lib/derby.jar

-- 
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




[jira] Updated: (DERBY-1470) Correct instructions in demo html file demo\simple\example.html

2006-08-07 Thread Andrew McIntyre (JIRA)
 [ http://issues.apache.org/jira/browse/DERBY-1470?page=all ]

Andrew McIntyre updated DERBY-1470:
---

Attachment: derby-1470-alt2.diff

Attaching a second version of the alternate solution for this issue, this 
version also unseals the newly added impl/tools/sysinfo package in 
derbyclient.jar.

> Correct instructions in demo html file demo\simple\example.html
> ---
>
> Key: DERBY-1470
> URL: http://issues.apache.org/jira/browse/DERBY-1470
> Project: Derby
>  Issue Type: Bug
>  Components: Demos/Scripts
>Affects Versions: 10.2.0.0, 10.1.3.1
> Environment: Any platform on which we support derby
>Reporter: Ramandeep Kaur
> Assigned To: Ramandeep Kaur
>Priority: Minor
> Fix For: 10.2.0.0
>
> Attachments: derby-1470-alt.diff, derby-1470-alt2.diff, 
> DERBY-1470.diff
>
>
>  In file demo\simple\example.html, under section "Next run the SimpleApp demo 
> in Derby client mode:", step 5
> "java org.apache.derby.tools.sysinfo -cp client SimpleApp.class" gives the 
> following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/derby/tools/sysinfo
> The above error is given because step 4 instructs to set path as following:
> export CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar
> Now as neither derby.jar or derbytool.jar is been added to the above 
> classpath, sysinfo file not found.
> Step 4 should instruct to set up path as following:
> export 
> CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar:${DERBY_INSTALL}/lib/derby.jar

-- 
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




[jira] Updated: (DERBY-1470) Correct instructions in demo html file demo\simple\example.html

2006-08-08 Thread Bryan Pendleton (JIRA)
 [ http://issues.apache.org/jira/browse/DERBY-1470?page=all ]

Bryan Pendleton updated DERBY-1470:
---

Attachment: derby-1470-alt3.diff

Andrew, I tried your alt-2 patch, and I was successfully able to run:

  java -cp derbyclient.jar org.apache.derby.tools.sysinfo

However, the messages weren't appearing properly, which I think is
because derbyclient.jar was missing "sysinfoMessages.properties".

When I added sysinfoMessages.properties to derbyclient.jar, the
output looked more like I expected it to.

Attached is "derby-1470-alt3.diff", which differs from your "alt2" patch
only in that it includes sysinfoMessages.properties into derbyclient.jar


> Correct instructions in demo html file demo\simple\example.html
> ---
>
> Key: DERBY-1470
> URL: http://issues.apache.org/jira/browse/DERBY-1470
> Project: Derby
>  Issue Type: Bug
>  Components: Demos/Scripts
>Affects Versions: 10.2.0.0, 10.1.3.1
> Environment: Any platform on which we support derby
>Reporter: Ramandeep Kaur
> Assigned To: Ramandeep Kaur
>Priority: Minor
> Fix For: 10.2.0.0
>
> Attachments: derby-1470-alt.diff, derby-1470-alt2.diff, 
> derby-1470-alt3.diff, DERBY-1470.diff
>
>
>  In file demo\simple\example.html, under section "Next run the SimpleApp demo 
> in Derby client mode:", step 5
> "java org.apache.derby.tools.sysinfo -cp client SimpleApp.class" gives the 
> following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/derby/tools/sysinfo
> The above error is given because step 4 instructs to set path as following:
> export CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar
> Now as neither derby.jar or derbytool.jar is been added to the above 
> classpath, sysinfo file not found.
> Step 4 should instruct to set up path as following:
> export 
> CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar:${DERBY_INSTALL}/lib/derby.jar

-- 
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




[jira] Updated: (DERBY-1470) Correct instructions in demo html file demo\simple\example.html

2006-08-08 Thread Andrew McIntyre (JIRA)
 [ http://issues.apache.org/jira/browse/DERBY-1470?page=all ]

Andrew McIntyre updated DERBY-1470:
---

Attachment: derby-1470-alt4.diff

Thanks for checking out the patch, Bryan!

Here's another version, that adds sysinfoMessages.properties to derbynet.jar 
(oops! :-) ), and unseals the org/apache/derby/loc in derbynet.jar and 
derbyclient.jar.

> Correct instructions in demo html file demo\simple\example.html
> ---
>
> Key: DERBY-1470
> URL: http://issues.apache.org/jira/browse/DERBY-1470
> Project: Derby
>  Issue Type: Bug
>  Components: Demos/Scripts
>Affects Versions: 10.2.0.0, 10.1.3.1
> Environment: Any platform on which we support derby
>Reporter: Ramandeep Kaur
> Assigned To: Ramandeep Kaur
>Priority: Minor
> Fix For: 10.2.0.0
>
> Attachments: derby-1470-alt.diff, derby-1470-alt2.diff, 
> derby-1470-alt3.diff, derby-1470-alt4.diff, DERBY-1470.diff
>
>
>  In file demo\simple\example.html, under section "Next run the SimpleApp demo 
> in Derby client mode:", step 5
> "java org.apache.derby.tools.sysinfo -cp client SimpleApp.class" gives the 
> following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/derby/tools/sysinfo
> The above error is given because step 4 instructs to set path as following:
> export CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar
> Now as neither derby.jar or derbytool.jar is been added to the above 
> classpath, sysinfo file not found.
> Step 4 should instruct to set up path as following:
> export 
> CLASSPATH=.:${DERBY_INSTALL}/lib/derbyclient.jar:${DERBY_INSTALL}/lib/derby.jar

-- 
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