# james-server-dev mailing list archives

##### Site index · List index
Message view
Top
From "David Liles" <d...@dynamichostings.com>
Subject RE: Compile Problems
Date Wed, 08 Oct 2003 16:24:27 GMT
```JBuilder allows the developer to run Ant tasks from within the project by including the build.xml
file as part of the project structure. By doing this, the develop has access to all of the

I can run the Ant build from a command prompt, so this tells me that I have everything I need.
I guess my lack of understanding is why can I successfully run the build from the command
prompt but when I trun to run the same script from within JBuilder it fails.

I can't believe that I'm the only person using JBuilder to develop..... anyone been able to
get this to work?

-----Original Message-----
From: Stephen McConnell [mailto:mcconnell@apache.org]
Sent: Wed 10/8/2003 11:07 AM
To: James Developers List
Cc:
Subject: Re: Compile Problems

David Liles wrote:

>For a couple days now I have been trying to configure JBuilder to run the Ant script
with James (2.1.3) but have not been successful.
>
>I am wanting to be able to do this so I can develop locally..... are there any other
developers who are doing this? If not, how are people developing locally?
>
>When I try to run my project the first thing it attempts to do is compile the code.....
>

David:

Have you validated the basic content - i.e. can you build james
from sources using just ant?  If you have that confirmed - then
the next question is the setup of JBuilder with respect to ant
(which is not really a james related issue).  Based on what your
saying it seems that you probably need to make sure that the ant
classpath is correctly configure to include whatever the phoenix
task needs - but this is just guessing as I don't use JBuilder.

Stephen.

>
>       -----Original Message-----
>       From: Joao Medeiros [mailto:joao.medeiros@ntlworld.com]
>       Sent: Wed 10/8/2003 2:25 AM
>       To: 'James Developers List'
>       Cc:
>       Subject: RE: Compile Problems
>
>
>
>       You don't need JBuilder in order to compile James. It comes with Ant
>       already and apart from a few warnings and errors due to configuration
>       issues once resolved it works fine.
>
>       -JM
>
>       -----Original Message-----
>       From: David Liles [mailto:dave@dynamichostings.com]
>       Sent: 07 October 2003 23:49
>       To: James Developers List
>       Subject: RE: Compile Problems
>
>       Thanks for the reply Steve...
>
>       I added phoenix-client.jar to my class path but that did not help....
>
>       -----Original Message-----
>       From: Steve Short [mailto:sshort@postx.com]
>       Sent: Tuesday, October 07, 2003 4:22 PM
>       To: James Developers List
>       Subject: RE: Compile Problems
>
>
>
>       This taskdef needs the phoenix-client.jar file to be on the classpath
>       and this is normally taken care of by the project.class.path as declared
>       in the build.xml file.  My guess is that the phoenix-client.jar this
>       cannot be found when you run ant through Jbuilder.
>
>       Cheers
>       Steve
>
>       > -----Original Message-----
>       > From: David Liles [mailto:dave@dynamichostings.com]
>       > Sent: Tuesday, October 07, 2003 2:22 PM
>       > To: James Developers List
>       > Subject: RE: Compile Problems
>       >
>       >
>       > Ok... this is where I am at now....
>       >
>       > james with phoenix version 2.1.3
>       >
>       > I create a project in JBuilder and when I attempt to run the
>       > Ant build file I get the following error:
>       >
>       >       "build.xml": D:\projects\james_source\build.xml:380:
>       > java.lang.NoSuchMethodError at line 380
>       >
>       > JBuilder indicates that the following is where the error is occuring:
>       >
>       > <sar sarfile="\${build.lib}/\${name}.sar"
>       > config="\${conf.dir}/james-config.xml"
>       > environment="\${conf.dir}/james-server.xml"
>       > assembly="\${conf.dir}/james-assembly.xml">
>       >
>       > I am currently using Ant 1.5.3-1
>       >
>       > I have no idea why this is occuring.... is there something
>       > additional I need to do in JBuilder in order to sucessfully
>       > build this?
>       >
>       > Thanks
>       >
>       >       -----Original Message-----
>       >       From: Noel J. Bergman [mailto:noel@devtech.com]
>       >       Sent: Tue 10/7/2003 4:08 PM
>       >       To: James Developers List
>       >       Cc:
>       >       Subject: RE: Compile Problems
>       >
>       >
>       >
>       >       The source with Phoenix should work fine.  I don't
>       > recognize the error you have, and I am in no place that I can
>       > really look at it today.  Hopefully someone else has an idea
>       > of what is wrong.
>       >
>       >               --- Noel
>       >
>       >
>       >
>       > ---------------------------------------------------------------------
>       >       To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>       >       For additional commands, e-mail:
>       > server-dev-help@james.apache.org
>       >
>       >
>       >
>       >
>
>       ---------------------------------------------------------------------
>       To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>       For additional commands, e-mail: server-dev-help@james.apache.org
>
>
>       ---------------------------------------------------------------------
>       To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>       For additional commands, e-mail: server-dev-help@james.apache.org
>
>
>
>
>       ---------------------------------------------------------------------
>       To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>       For additional commands, e-mail: server-dev-help@james.apache.org
>
>
>
>
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>

--

Stephen J. McConnell
mailto:mcconnell@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org