In Eclipse one can exclude files/directories from the build. However, this is not dynamic - it has to be changed in the project properties.
Rather than delete them when they are not needed, I tend to add a dummy letter to each exclude path so that it no longer has any effect. It's then easier to re-enable the exclude. Dunno if JBuilder supports excludes or not. Another option is to rename the files to (say) .javax. S. On Fri, 14 Jan 2005 17:44:22 -0600, Anil Philip <[EMAIL PROTECTED]> wrote: > Yes - it builds now - I simply deleted the files - JBuilder does not seem to > support (or at least I could not find) conditional compilation. Thanks! > > -----Original Message----- > From: sebb [mailto:[EMAIL PROTECTED] > Sent: Friday, January 14, 2005 4:59 PM > To: JMeter Developers List > Subject: Re: building JMeter in JBuilder? > > If you have a look at build.xml, you should see that it checks whether > various optional jars are present, and skips the compilation of > certain source files if the are not present. > > You either need to do the same in JBuilder, or you need to fetch the jars. > > mail.jar and activation.jar are part of JavaMail -see java.sun.com > beanshell - www.beanshell.org > > etc. > > On Fri, 14 Jan 2005 14:13:58 -0600, Anil Philip > <[EMAIL PROTECTED]> wrote: > > Peter, > > Where is mail.jar? I do not see it in bin nor lib. I am using jdk 1.4.2_06 > > Thanks, > > Anil Philip > > > > -----Original Message----- > > From: Peter Lin [mailto:[EMAIL PROTECTED] > > Sent: Friday, January 14, 2005 12:27 PM > > To: JMeter Developers List > > Subject: Re: building JMeter in JBuilder? > > > > try building without the mail.jar and see if it works. if not, try > > building with jdk1.4 instead of jdk5. > > > > peter > > > > On Fri, 14 Jan 2005 12:22:19 -0600, Anil Philip > > <[EMAIL PROTECTED]> wrote: > > > The package javax.mail seems to be in J2EE SDK?? > > > > > > -----Original Message----- > > > "WebServiceSampler.java": cannot access javax.mail.MessagingException; > > > javax.mail.MessagingException at line 560, column 59 > > > "ProxyControl.java": as of release 1.5, 'enum' is a keyword, and may not > > be > > > used as an identifier (try -source 1.5 to use 'enum' as a keyword) at > line > > > 500, column 21 > > > "ProxyControl.java": as of release 1.5, 'enum' is a keyword, and may not > > be > > > used as an identifier (try -source 1.5 to use 'enum' as a keyword) at > line > > > 501, column 16 > > > "MailerModel.java": package javax.mail does not exist at line 29, column > > 19 > > > "MailerModel.java": package javax.mail does not exist at line 30, column > > 19 > > > "MailerModel.java": package javax.mail does not exist at line 31, column > > 19 > > > "MailerModel.java": package javax.mail does not exist at line 32, column > > 19 > > > "MailerModel.java": package javax.mail.internet does not exist at line > 33, > > > column 28 > > > "MailerModel.java": package javax.mail.internet does not exist at line > 34, > > > column 28 > > > "MailerModel.java": package javax.mail.internet does not exist at line > 35, > > > column 28 > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]