From: Sean R. <sra...@ae...> - 2005-07-23 22:57:47
|
Hi there, I've got coeffient running from the prepackaged binaries. I would now like to build fromt the source but can't grasp how to do so. I'm prettry au-fai with Maven, but can't work out what target(s) to call. I've read 'RELEASE_HOW_TO.TXT' but don't understand it I'm afraid: >please build web release first >then copy it to where you need it >delete build you can leave the lib dir > >then do the normal build. >then build all the individual modules >then do the release build for J2ee/jboss Any help, much appreciated. Sean |
From: Dylan & A. E. <dn...@gm...> - 2005-07-24 05:23:31
|
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. Dylan On 7/24/05, Sean Radford <sra...@ae...> wrote: > Hi there, >=20 > I've got coeffient running from the prepackaged binaries. I would now > like to build fromt the source but can't grasp how to do so. I'm prettry > au-fai with Maven, but can't work out what target(s) to call. >=20 > I've read 'RELEASE_HOW_TO.TXT' but don't understand it I'm afraid: >=20 > >please build web release first > >then copy it to where you need it > >delete build you can leave the lib dir > > > >then do the normal build. > >then build all the individual modules > >then do the release build for J2ee/jboss >=20 > Any help, much appreciated. >=20 > Sean >=20 >=20 > ------------------------------------------------------- > 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_id=3D7477&alloc_id=3D16492&op=3Dclic= k > _______________________________________________ > Coefficient-users mailing list > Coe...@li... > https://lists.sourceforge.net/lists/listinfo/coefficient-users > |
From: Dylan & A. E. <dn...@gm...> - 2005-07-24 22:05:22
|
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: >=20 > >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... :-( >=20 > compile: > [iajc] > /home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/core/Base= CoefficientContext.java:161 > The type AbstractStringBuilder is not visible > [iajc] sb.append("&op=3D") > [iajc] ^^^^^^^^^^^^^^^^^ > [iajc] > /home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/core/Base= CoefficientContext.java:169 > The type AbstractStringBuilder is not visible > [iajc] sb.append("&") > [iajc] ^^^^^^^^^^^^^^ > [iajc] > /home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/modules/p= roject/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/l= ogging/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/l= ogging/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/intercept= ors/ExceptionInterceptor.java:106 > The type AbstractStringBuilder is not visible > [iajc] sb.append(st.nextToken()) > [iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^ >=20 > BUILD FAILED > /home/sradford/stuff/sandbox/coefficient/build.xml:153: 6 errors >=20 > (I've made sure I've got the latest from CVS) >=20 > Any ideas? >=20 > Thanks, >=20 > Sean > |
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 |
From: Sean R. <sra...@ae...> - 2005-07-25 21:51:31
|
Hotmail wrote: >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. > > Tried breaking up the append statements, but no luck. Will download JDK 1.4 and let you know if that solves it. Sean |
From: Sean R. <sra...@ae...> - 2005-07-26 14:21:41
|
Ok, swapped to Java 1.4 and now have the following problem: compile: [iajc] /home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/modules/project/Projects.java:48 The import za.org.coefficient.modules.rss cannot be resolved [iajc] import za.org.coefficient.modules.rss.AffectedData; [iajc] So I then checked out the rssBlog module. Now when I 'ant' that I get: compile: [iajc] build config error: bad aspectpath: /home/sradford/stuff/sandbox/coefficient/build/lib/coefficient-ejb.jar [iajc] AspectJ Compiler 1.1.0 (and coefficient-ejb.jar doesn't exist (yet)) This seems to be a circular dependency, but I presume I am wrong about this. How do I proceed form here? Thanks, Sean |
From: Thomas F. <tfo...@cs...> - 2005-07-26 16:13:32
|
On Tue, 2005-07-26 at 15:16 +0100, Sean Radford wrote: > Ok, swapped to Java 1.4 and now have the following problem: > > compile: > [iajc] > /home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/modules/project/Projects.java:48 > The import za.org.coefficient.modules.rss cannot be resolved > [iajc] import za.org.coefficient.modules.rss.AffectedData; > [iajc] Oops, that's a bad import - deleting that line should get it going. The fix is in CVS. -- Thomas Fogwill <tfo...@cs...> -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. |
From: Sean R. <sra...@ae...> - 2005-07-27 06:14:39
|
Thomas Fogwill wrote: >On Tue, 2005-07-26 at 15:16 +0100, Sean Radford wrote: > > >>Ok, swapped to Java 1.4 and now have the following problem: >> >>compile: >> [iajc] >>/home/sradford/stuff/sandbox/coefficient/src/za/org/coefficient/modules/project/Projects.java:48 >>The import za.org.coefficient.modules.rss cannot be resolved >> [iajc] import za.org.coefficient.modules.rss.AffectedData; >> [iajc] >> >> > >Oops, that's a bad import - deleting that line should get it going. > >The fix is in CVS. > > > Cool. Got it built. Thanks all for your help. Hopefully, I'll get a chance for some playing about this w/e :-) Sean |