|
From: Hotmail <mr_...@ho...> - 2005-07-24 23:01:19
|
Hi Sean,
I had the same exact problem. I got around it by breaking up the
sb.append().append() statement. For example sb.append(); sb.append(); and so
on. Not sure why it works but it does. I think that it has to do with the
implementation of AbstractStringBuilder as a private class in java....
I'm using jdk 1.5.1 and except for this instance, everything else compiles
correctly. I have not noticed any adverse effect using 1.5, if you or
anyone does, I would appreciate a heads up.
Regards,
Miguel
----- Original Message -----
From: "Dylan & Anna Etkin" <dn...@gm...>
To: "Sean Radford" <sra...@ae...>
Cc: <coe...@li...>
Sent: Sunday, July 24, 2005 6:05 PM
Subject: Re: [Coefficient-users] Building: How-to
Hi Sean,
I am pretty sure you are hitting an issue compiling with jdk 1.5. I
am not sure what causes it, perhaps an incompatability with the
version of aspectj we are using. If you use jdk 1.4 you should come
right.
Dylan
On 7/25/05, Sean Radford <sra...@ae...> wrote:
> Dylan & Anna Etkin wrote:
>
> >Hi Sean,
> > The build uses ant, maven is only used to build the web-site. I have
> >been meaning to mavenize the project for a while. All the targets you
> >want to call are ant targets.
> >
> >
> >
> Thanks Dylan. I have now run ant (using the default deploy target) and
> the compile target fails... :-(
>
> compile:
> [iajc]
>
/home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/core/BaseCoe
fficientContext.java:161
> The type AbstractStringBuilder is not visible
> [iajc] sb.append("&op=")
> [iajc] ^^^^^^^^^^^^^^^^^
> [iajc]
>
/home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/core/BaseCoe
fficientContext.java:169
> The type AbstractStringBuilder is not visible
> [iajc] sb.append("&")
> [iajc] ^^^^^^^^^^^^^^
> [iajc]
>
/home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/modules/proj
ect/Projects.java:48
> The import za.org.coefficient.modules.rss cannot be resolved
> [iajc] import za.org.coefficient.modules.rss.AffectedData;
> [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [iajc]
>
/home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/aspects/logg
ing/CoefficientLoggingAspect.aj:120
> The type AbstractStringBuilder is not visible
> [iajc] buf.append("Timing [").append(iname);
> [iajc] ^^^^^^^^^^^^^^^^^^^^^^
> [iajc]
>
/home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/aspects/logg
ing/CoefficientLoggingAspect.aj:125
> The type AbstractStringBuilder is not visible
> [iajc] buf.append(", interceptors took total ")
> [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [iajc]
>
/home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/interceptors
/ExceptionInterceptor.java:106
> The type AbstractStringBuilder is not visible
> [iajc] sb.append(st.nextToken())
> [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^
>
> BUILD FAILED
> /home/sradford/stuff/sandbox/coefficient/build.xml:153: 6 errors
>
> (I've made sure I've got the latest from CVS)
>
> Any ideas?
>
> Thanks,
>
> Sean
>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
_______________________________________________
Coefficient-users mailing list
Coe...@li...
https://lists.sourceforge.net/lists/listinfo/coefficient-users
|