You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by Scott Eade <se...@backstagetech.com.au> on 2002/07/11 06:01:19 UTC

Re: cvs commit: jakarta-jmeter/src_1/org/apache/jmeter/resources messages.properties messages_ja.properties messages_no.properties

Are the changes below compatible with the international version of JSSE?

Yesterday I could build jmeter without JSSE.  Today I get unresolved symbols
even after downloading the international version of JSSE and installing the
jars into lib/ext.  The symbols that can't be resolved in NewDriver are:

> +import sun.security.krb5.internal.i;
> +import sun.security.krb5.internal.crypto.e;

The second one of these can't be resolved in ResponseVariable.java either.

Recommended advice?

Cheers,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
Web: http://www.backstagetech.com.au

> From: mstover1@apache.org
> Reply-To: "JMeter Developers List" <jm...@jakarta.apache.org>
> Date: 11 Jul 2002 00:26:52 -0000
> To: jakarta-jmeter-cvs@apache.org
> Subject: cvs commit: jakarta-jmeter/src_1/org/apache/jmeter/resources
> messages.properties messages_ja.properties messages_no.properties
> 
> Index: NewDriver.java
> ===================================================================
> RCS file: /home/cvs/jakarta-jmeter/src_1/org/apache/jmeter/NewDriver.java,v
> retrieving revision 1.8
> retrieving revision 1.9
> diff -u -r1.8 -r1.9
> --- NewDriver.java    29 Jun 2002 00:36:59 -0000    1.8
> +++ NewDriver.java    11 Jul 2002 00:26:52 -0000    1.9
> @@ -55,6 +55,7 @@
>  package org.apache.jmeter;
>  
>  import java.io.File;
> +import java.io.FilenameFilter;
>  import java.lang.reflect.Method;
>  import java.net.MalformedURLException;
>  import java.net.URL;
> @@ -62,6 +63,9 @@
>  import java.util.LinkedList;
>  import java.util.List;
>  
> +import sun.security.krb5.internal.i;
> +import sun.security.krb5.internal.crypto.e;
> +
>  
>  
>  
> @@ -84,8 +88,18 @@
> String jmDir = System.getProperty("user.dir")+File.separator+"..";
> File libDir = new File(jmDir+File.separator+"lib");
> File extDir = new File(jmDir+File.separator+"lib"+File.separator+"ext");
> -        File[] libJars = libDir.listFiles();
> -        File[] extJars = extDir.listFiles();
> +        File[] libJars = libDir.listFiles(new FilenameFilter() {
> +            public boolean accept(File dir,String name) {
> +                if(name.endsWith(".jar"))
> +                    return true;
> +                return false;
> +            }});
> +        File[] extJars = extDir.listFiles(new FilenameFilter() {
> +            public boolean accept(File dir,String name) {
> +                if(name.endsWith(".jar"))
> +                    return true;
> +                return false;
> +            }});
> StringBuffer classpath = new StringBuffer();
> for(int i = 0;i < libJars.length;i++)
> {


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: cvs commit: jakarta-jmeter/src_1/org/apache/jmeter/resourcesmessages.properties messages_ja.properties messages_no.properti

Posted by Berin Loritsch <bl...@apache.org>.
> From: Mike Stover [mailto:mstover1@apache.org] 
> 
> Sorry - this is my mistake.  My IDE (Eclipse) has this handy 
> function where it will 
> automatically figure out what needs to be imported based on 
> the code.  I use it all 
> the time.  It has a bug, however, that causes it to look at 
> your variable names and 
> try to find matching classes.  For some reason, Sun actually 
> has classes named 
> "e" and "i", which eclipse then imports.  I usually delete 
> them, but I guess I forgot a 
> few.
> 
> I'll look through the code and make sure there aren't more in there.

It also has a bug where it marks a class as bad because it doesn't
have java.lang.Object in its classpath ?!?


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: cvs commit: jakarta-jmeter/src_1/org/apache/jmeter/resourcesmessages.properties messages_ja.properties messages_no.properti

Posted by Mike Stover <ms...@apache.org>.
Sorry - this is my mistake.  My IDE (Eclipse) has this handy function where it will 
automatically figure out what needs to be imported based on the code.  I use it all 
the time.  It has a bug, however, that causes it to look at your variable names and 
try to find matching classes.  For some reason, Sun actually has classes named 
"e" and "i", which eclipse then imports.  I usually delete them, but I guess I forgot a 
few.

I'll look through the code and make sure there aren't more in there.

-Mike

On 11 Jul 2002 at 8:34, Berin Loritsch wrote:

> Submit it as a bug--any unused imports that cause problems like
> that must be removed from the source.
> 
> > -----Original Message-----
> > From: Scott Eade [mailto:seade@backstagetech.com.au] 
> > Sent: Thursday, July 11, 2002 12:07 AM
> > To: JMeter Developers List
> > Subject: Re: cvs commit: 
> > jakarta-jmeter/src_1/org/apache/jmeter/resourcesmessages.prope
> > rties messages_ja.properties messages_no.properties
> > 
> > 
> > Or perhaps I'll just use my own brain cycles and comment out 
> > these unused imports myself ;-)
> > 
> > Doh!
> > 
> > Scott
> > -- 
> > Scott Eade
> > Backstage Technologies Pty. Ltd.
> > Web: http://www.backstagetech.com.au
> > 
> > > From: Scott Eade <se...@backstagetech.com.au>
> > > Reply-To: "JMeter Developers List" <jm...@jakarta.apache.org>
> > > Date: Thu, 11 Jul 2002 14:01:19 +1000
> > > To: JMeter Developers List <jm...@jakarta.apache.org>
> > > Subject: Re: cvs commit: 
> > > jakarta-jmeter/src_1/org/apache/jmeter/resources
> > > messages.properties messages_ja.properties messages_no.properties
> > > 
> > > Are the changes below compatible with the international version of 
> > > JSSE?
> > > 
> > > Yesterday I could build jmeter without JSSE.  Today I get 
> > unresolved 
> > > symbols even after downloading the international version of 
> > JSSE and 
> > > installing the jars into lib/ext.  The symbols that can't 
> > be resolved 
> > > in NewDriver are:
> > > 
> > >> +import sun.security.krb5.internal.i;
> > >> +import sun.security.krb5.internal.crypto.e;
> > > 
> > > The second one of these can't be resolved in ResponseVariable.java 
> > > either.
> > > 
> > > Recommended advice?
> > > 
> > > Cheers,
> > > 
> > > Scott
> > > --
> > > Scott Eade
> > > Backstage Technologies Pty. Ltd.
> > > Web: http://www.backstagetech.com.au
> > > 
> > >> From: mstover1@apache.org
> > >> Reply-To: "JMeter Developers List" <jm...@jakarta.apache.org>
> > >> Date: 11 Jul 2002 00:26:52 -0000
> > >> To: jakarta-jmeter-cvs@apache.org
> > >> Subject: cvs commit: 
> > jakarta-jmeter/src_1/org/apache/jmeter/resources
> > >> messages.properties messages_ja.properties messages_no.properties
> > >> 
> > >> Index: NewDriver.java 
> > >> ===================================================================
> > >> RCS file: 
> > >> /home/cvs/jakarta-jmeter/src_1/org/apache/jmeter/NewDriver.java,v
> > >> retrieving revision 1.8
> > >> retrieving revision 1.9
> > >> diff -u -r1.8 -r1.9
> > >> --- NewDriver.java    29 Jun 2002 00:36:59 -0000    1.8
> > >> +++ NewDriver.java    11 Jul 2002 00:26:52 -0000    1.9
> > >> @@ -55,6 +55,7 @@
> > >>  package org.apache.jmeter;
> > >>  
> > >>  import java.io.File;
> > >> +import java.io.FilenameFilter;
> > >>  import java.lang.reflect.Method;
> > >>  import java.net.MalformedURLException;
> > >>  import java.net.URL;
> > >> @@ -62,6 +63,9 @@
> > >>  import java.util.LinkedList;
> > >>  import java.util.List;
> > >>  
> > >> +import sun.security.krb5.internal.i;
> > >> +import sun.security.krb5.internal.crypto.e;
> > >> +
> > >>  
> > >>  
> > >>  
> > >> @@ -84,8 +88,18 @@
> > >> String jmDir = System.getProperty("user.dir")+File.separator+"..";
> > >> File libDir = new File(jmDir+File.separator+"lib");
> > >> File extDir = new 
> > File(jmDir+File.separator+"lib"+File.separator+"ext");
> > >> -        File[] libJars = libDir.listFiles();
> > >> -        File[] extJars = extDir.listFiles();
> > >> +        File[] libJars = libDir.listFiles(new FilenameFilter() {
> > >> +            public boolean accept(File dir,String name) {
> > >> +                if(name.endsWith(".jar"))
> > >> +                    return true;
> > >> +                return false;
> > >> +            }});
> > >> +        File[] extJars = extDir.listFiles(new FilenameFilter() {
> > >> +            public boolean accept(File dir,String name) {
> > >> +                if(name.endsWith(".jar"))
> > >> +                    return true;
> > >> +                return false;
> > >> +            }});
> > >> StringBuffer classpath = new StringBuffer();
> > >> for(int i = 0;i < libJars.length;i++)
> > >> {
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:   
> > <mailto:jmeter-dev-> unsubscribe@jakarta.apache.org>
> > > For 
> > additional commands, 
> > e-mail: 
> > > <ma...@jakarta.apache.org>
> > > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:jmeter-dev-> unsubscribe@jakarta.apache.org>
> > For 
> > additional commands, 
> > e-mail: <ma...@jakarta.apache.org>
> > 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: cvs commit: jakarta-jmeter/src_1/org/apache/jmeter/resourcesmessages.properties messages_ja.properties messages_no.properties

Posted by Berin Loritsch <bl...@apache.org>.
Submit it as a bug--any unused imports that cause problems like
that must be removed from the source.

> -----Original Message-----
> From: Scott Eade [mailto:seade@backstagetech.com.au] 
> Sent: Thursday, July 11, 2002 12:07 AM
> To: JMeter Developers List
> Subject: Re: cvs commit: 
> jakarta-jmeter/src_1/org/apache/jmeter/resourcesmessages.prope
> rties messages_ja.properties messages_no.properties
> 
> 
> Or perhaps I'll just use my own brain cycles and comment out 
> these unused imports myself ;-)
> 
> Doh!
> 
> Scott
> -- 
> Scott Eade
> Backstage Technologies Pty. Ltd.
> Web: http://www.backstagetech.com.au
> 
> > From: Scott Eade <se...@backstagetech.com.au>
> > Reply-To: "JMeter Developers List" <jm...@jakarta.apache.org>
> > Date: Thu, 11 Jul 2002 14:01:19 +1000
> > To: JMeter Developers List <jm...@jakarta.apache.org>
> > Subject: Re: cvs commit: 
> > jakarta-jmeter/src_1/org/apache/jmeter/resources
> > messages.properties messages_ja.properties messages_no.properties
> > 
> > Are the changes below compatible with the international version of 
> > JSSE?
> > 
> > Yesterday I could build jmeter without JSSE.  Today I get 
> unresolved 
> > symbols even after downloading the international version of 
> JSSE and 
> > installing the jars into lib/ext.  The symbols that can't 
> be resolved 
> > in NewDriver are:
> > 
> >> +import sun.security.krb5.internal.i;
> >> +import sun.security.krb5.internal.crypto.e;
> > 
> > The second one of these can't be resolved in ResponseVariable.java 
> > either.
> > 
> > Recommended advice?
> > 
> > Cheers,
> > 
> > Scott
> > --
> > Scott Eade
> > Backstage Technologies Pty. Ltd.
> > Web: http://www.backstagetech.com.au
> > 
> >> From: mstover1@apache.org
> >> Reply-To: "JMeter Developers List" <jm...@jakarta.apache.org>
> >> Date: 11 Jul 2002 00:26:52 -0000
> >> To: jakarta-jmeter-cvs@apache.org
> >> Subject: cvs commit: 
> jakarta-jmeter/src_1/org/apache/jmeter/resources
> >> messages.properties messages_ja.properties messages_no.properties
> >> 
> >> Index: NewDriver.java 
> >> ===================================================================
> >> RCS file: 
> >> /home/cvs/jakarta-jmeter/src_1/org/apache/jmeter/NewDriver.java,v
> >> retrieving revision 1.8
> >> retrieving revision 1.9
> >> diff -u -r1.8 -r1.9
> >> --- NewDriver.java    29 Jun 2002 00:36:59 -0000    1.8
> >> +++ NewDriver.java    11 Jul 2002 00:26:52 -0000    1.9
> >> @@ -55,6 +55,7 @@
> >>  package org.apache.jmeter;
> >>  
> >>  import java.io.File;
> >> +import java.io.FilenameFilter;
> >>  import java.lang.reflect.Method;
> >>  import java.net.MalformedURLException;
> >>  import java.net.URL;
> >> @@ -62,6 +63,9 @@
> >>  import java.util.LinkedList;
> >>  import java.util.List;
> >>  
> >> +import sun.security.krb5.internal.i;
> >> +import sun.security.krb5.internal.crypto.e;
> >> +
> >>  
> >>  
> >>  
> >> @@ -84,8 +88,18 @@
> >> String jmDir = System.getProperty("user.dir")+File.separator+"..";
> >> File libDir = new File(jmDir+File.separator+"lib");
> >> File extDir = new 
> File(jmDir+File.separator+"lib"+File.separator+"ext");
> >> -        File[] libJars = libDir.listFiles();
> >> -        File[] extJars = extDir.listFiles();
> >> +        File[] libJars = libDir.listFiles(new FilenameFilter() {
> >> +            public boolean accept(File dir,String name) {
> >> +                if(name.endsWith(".jar"))
> >> +                    return true;
> >> +                return false;
> >> +            }});
> >> +        File[] extJars = extDir.listFiles(new FilenameFilter() {
> >> +            public boolean accept(File dir,String name) {
> >> +                if(name.endsWith(".jar"))
> >> +                    return true;
> >> +                return false;
> >> +            }});
> >> StringBuffer classpath = new StringBuffer();
> >> for(int i = 0;i < libJars.length;i++)
> >> {
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:jmeter-dev-> unsubscribe@jakarta.apache.org>
> > For 
> additional commands, 
> e-mail: 
> > <ma...@jakarta.apache.org>
> > 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jmeter-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-jmeter/src_1/org/apache/jmeter/resources messages.properties messages_ja.properties messages_no.properties

Posted by Scott Eade <se...@backstagetech.com.au>.
Or perhaps I'll just use my own brain cycles and comment out these unused
imports myself ;-)

Doh!

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
Web: http://www.backstagetech.com.au

> From: Scott Eade <se...@backstagetech.com.au>
> Reply-To: "JMeter Developers List" <jm...@jakarta.apache.org>
> Date: Thu, 11 Jul 2002 14:01:19 +1000
> To: JMeter Developers List <jm...@jakarta.apache.org>
> Subject: Re: cvs commit: jakarta-jmeter/src_1/org/apache/jmeter/resources
> messages.properties messages_ja.properties messages_no.properties
> 
> Are the changes below compatible with the international version of JSSE?
> 
> Yesterday I could build jmeter without JSSE.  Today I get unresolved symbols
> even after downloading the international version of JSSE and installing the
> jars into lib/ext.  The symbols that can't be resolved in NewDriver are:
> 
>> +import sun.security.krb5.internal.i;
>> +import sun.security.krb5.internal.crypto.e;
> 
> The second one of these can't be resolved in ResponseVariable.java either.
> 
> Recommended advice?
> 
> Cheers,
> 
> Scott
> -- 
> Scott Eade
> Backstage Technologies Pty. Ltd.
> Web: http://www.backstagetech.com.au
> 
>> From: mstover1@apache.org
>> Reply-To: "JMeter Developers List" <jm...@jakarta.apache.org>
>> Date: 11 Jul 2002 00:26:52 -0000
>> To: jakarta-jmeter-cvs@apache.org
>> Subject: cvs commit: jakarta-jmeter/src_1/org/apache/jmeter/resources
>> messages.properties messages_ja.properties messages_no.properties
>> 
>> Index: NewDriver.java
>> ===================================================================
>> RCS file: /home/cvs/jakarta-jmeter/src_1/org/apache/jmeter/NewDriver.java,v
>> retrieving revision 1.8
>> retrieving revision 1.9
>> diff -u -r1.8 -r1.9
>> --- NewDriver.java    29 Jun 2002 00:36:59 -0000    1.8
>> +++ NewDriver.java    11 Jul 2002 00:26:52 -0000    1.9
>> @@ -55,6 +55,7 @@
>>  package org.apache.jmeter;
>>  
>>  import java.io.File;
>> +import java.io.FilenameFilter;
>>  import java.lang.reflect.Method;
>>  import java.net.MalformedURLException;
>>  import java.net.URL;
>> @@ -62,6 +63,9 @@
>>  import java.util.LinkedList;
>>  import java.util.List;
>>  
>> +import sun.security.krb5.internal.i;
>> +import sun.security.krb5.internal.crypto.e;
>> +
>>  
>>  
>>  
>> @@ -84,8 +88,18 @@
>> String jmDir = System.getProperty("user.dir")+File.separator+"..";
>> File libDir = new File(jmDir+File.separator+"lib");
>> File extDir = new File(jmDir+File.separator+"lib"+File.separator+"ext");
>> -        File[] libJars = libDir.listFiles();
>> -        File[] extJars = extDir.listFiles();
>> +        File[] libJars = libDir.listFiles(new FilenameFilter() {
>> +            public boolean accept(File dir,String name) {
>> +                if(name.endsWith(".jar"))
>> +                    return true;
>> +                return false;
>> +            }});
>> +        File[] extJars = extDir.listFiles(new FilenameFilter() {
>> +            public boolean accept(File dir,String name) {
>> +                if(name.endsWith(".jar"))
>> +                    return true;
>> +                return false;
>> +            }});
>> StringBuffer classpath = new StringBuffer();
>> for(int i = 0;i < libJars.length;i++)
>> {
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>