Thanks for posting a workaround Eddie. That's a much simpler solution
than building Beehive locally.
- Chad
On 4/2/07, Eddie O'Neil <[EMAIL PROTECTED]> wrote:
Ed--
Fortunately, there's a radically simpler :) way to do this that
doesn't require re-building Beehive from source. Just modify your Ant
build files as suggested here:
http://wiki.apache.org/beehive/Beehive_and_Ant_1%2e7
This re-configures the Ant files to avoid the circular dependency via
direct calls to Beehive's <apt> task. These steps should work on
projects that are "typical", put all source files in src/, and may
have both Controls and Page Flows.
Another choice would be to just Ant 1.6.x, though I assume that's
not an option in your case.
Hope this helps.
Eddie
On 4/2/07, Chad Schoettger <[EMAIL PROTECTED]> wrote:
> Hi Ed,
>
> In order to build Beehive you'll need to get the Beehive source tree
> from Apache using Subversion. The zipped source/lib/doc files are not
> sufficient to build with.
>
> The Beehive Wiki details the process of how to get a Beehive source
> tree and can be found at:
>
> http://wiki.apache.org/beehive/For_Beehive_Developers
>
> In the 1st section of the document titled 'Building'.
>
> - Chad
>
>
> On 4/1/07, Ed KWOK <[EMAIL PROTECTED]> wrote:
> >
> > Hi Chad,
> >
> > OK, I download the src, doc and lib for beehive. The readme.txt file
> > mention a building.txt file, but there is no such building.txt file in the
> > distro. How do I build the src? I have JEK and JDK. Thanks.
> >
> >
> > //ed
> >
> > ----- Original Message ----
> > From: Chad Schoettger <[EMAIL PROTECTED]>
> > To: Ed KWOK <[EMAIL PROTECTED]>
> > Cc: Beehive Users <[email protected]>
> > Sent: Sunday, April 1, 2007 3:52:11 PM
> > Subject: Re: beehive distribution samples fail to build when using Ant 1.7.x
> >
> > Hi Ed,
> >
> > Beehive has its own AptTask, since at the time the Beehive project was
> > started, Ant didn't include one in their library. The AptTask file I
> > updated was:
> >
> >
/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptTask.java
> >
> > Beehive hasn't had an official release since this change so the only
> > way to get it currently is to download the Beehive source code from
> > apache and do a beehive build. It is a pretty straightforward process
> > to build beehive, it should all be covered on the Apache Beehive web
> > site. Let me know if you have any questions though.
> >
> > You shouldn't have to make any additional changes to Beehive's AptTask file.
> >
> > - Chad
> >
> > On 4/1/07, Ed KWOK <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi Chad,
> > >
> > > I am new to beehive and java class. I run into this problem but
> > couldn't
> > > understand how you resolved. I understanding your discussion of path was
> > > being appended to itself, but I don't know how to fix it.
> > >
> > > In your posting : "I've cleaned up the AptTask class to only append the
> > > new portion of the source path instead of appending the source path
> > itself."
> > > Where can I locate the AptTask class in my system (running fedora 6,
> > > beehive, tomcat, JRE and JDK). is the AptTask class located in my JRE or
> > > JDK directory that I need to make the change? Or is AptTask class located
> > in
> > > my Ant 1.7.x directory? How can I fix this problem. I am dead in the
> > > water, and can't not build any beehive apps, appreciate any help you can
> > > give.....
> > >
> > > //ed
> > >
> > >
> >
> >
>