From: Dylan E. <de...@cs...> - 2004-12-31 09:24:55
|
Hi, I believe the problem you are having with aspectj is that you are using the latest version. I tried to move to the current version about 2 months ago and found the same errors that you are describing, I tried to fix it for a couple of hours and did not get a solution. If you make the dependancy on the version of aspectj that we include in the lib dir you should be ok. As to the hibernateUtil.jar that is a jar containing some code that we have created to wrap the hibernate session, it is not downloadable via maven so it will have to stay in a local lib dir. Thanks for the work, can't wait to see coefficient build with maven. Cheers, Dylan Dylan Etkin ISTC +27 12 841 3200 >>> Charles-Alexandre Sabourdin <ka...@de...> 12/29/04 2:38 PM >>> Hi, So I did list and update all the dependency. and modify some of the structure and I have the following problem : (I have tonnes of those errors) and update the project.xml with those. /home/sabourdin/java/cvs/coefficient/clean-from-cvs/maven/coefficent/src/java/za/org/coefficient/util/workflow/WorkflowEvaluatorFacade.java:86:0 Ambiguous binding of type java.lang.Object using args(..) at this line. Use one args(..) per matched join point, see secondary source location for location of extraneous args(..) see also: /home/sabourdin/java/cvs/coefficient/clean-from-cvs/maven/coefficent/src/aspectj/za/org/coefficient/aspects/base/BaseCoefficientAspect.java:52 [error 455]: error at HibernateUtil.saveOrUpdate(wd); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Charles-Alexandre SABOURDIN ----------------- Dependency list : coefficient/lib/: ant-contrib-0.4.jar used only for ant ? aspectjrt.jar used only for aspectj ? aspectjtools.jar used only for aspectj ? castor-0.9.5-xml.jar <dependency><groupId>castor</groupId><artifactId>castor</artifactId><version>0.9.5-xml</version><url>http://castor.exolab.org/download.html</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> commons-beanutils.jar <dependency><groupId>commons-beanutils</groupId><artifactId>commons-beanutils</artifactId><version>1.7.0</version><url>http://jakarta.apache.org/commons/beanutils/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> commons-collections.jar <dependency><groupId>commons-collections</groupId><artifactId>commons-collections</artifactId><version>3.0</version><url>http://jakarta.apache.org/commons/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> commons-fileupload-1.0.jar <dependency><groupId>commons-fileupload</groupId><artifactId>commons-fileupload</artifactId><version>1.0</version><url>http://jakarta.apache.org/commons/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> commons-httpclient-2.0.2.jar <dependency><groupId>commons-httpclient</groupId><artifactId> commons-httpclient</artifactId><version>2.0.2</version><url>http://jakarta.apache.org/commons/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> commons-lang.jar <dependency><groupId>commons-lang</groupId><artifactId> commons-lang</artifactId><version>2.0</version><url>http://jakarta.apache.org/commons/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> commons-logging.jar <dependency><groupId>commons-logging</groupId><artifactId> commons-logging</artifactId><version>1.1-dev</version><url>http://jakarta.apache.org/velocity/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> csir-workflow.jar <dependency><groupId>csir</groupId><artifactId>csir-workflow</artifactId><version>0.8.1</version><url>http://www.csir.co.za/plsql/ptl0002/ptl0002_pge001_home</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> jakarta-regexp-1.2.jar <dependency><groupId>jakarta-regexp</groupId><artifactId>jakarta-regexp</artifactId><version>1.2</version><url>http://jakarta.apache.org/regexp/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> jboss-j2ee.jar <dependency><groupId>jboss</groupId><artifactId>jboss-j2ee</artifactId><version>3.2.3</version><url>http://www.jboss.org/products/index</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> velocity-1.4-dev.jar <dependency><groupId>velocity</groupId><artifactId>velocity</artifactId><version>1.4</version><url>http://jakarta.apache.org/velocity/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> xdoclet-1.2b4.jar used only for xdoclet ? xdoclet-ejb-module-1.2b4.jar used only for xdoclet ? xdoclet-hibernate-module-1.2b4.jar used only for xdoclet ? xdoclet-jboss-module-1.2b4.jar used only for xdoclet ? xdoclet-jmx-module-1.2b4.jar used only for xdoclet ? xdoclet-pojo2ejb-module-1.2b3.jar used only for xdoclet ? xdoclet-serverxml-module-1.2b3.jar used only for xdoclet ? xdoclet-web-module-1.2b4.jar used only for xdoclet ? xdoclet-xdoclet-module-1.2b4.jar used only for xdoclet ? xjavadoc-1.0.jar used only for xdoclet ? coefficient/lib/hibernate: cglib-2.0-rc2.jar <dependency><groupId>cglib</groupId><artifactId>cglib</artifactId><version>2.0-rc2</version><url>http://cglib.sourceforge.net/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> connector.jar <dependency><groupId>csir</groupId><artifactId>connector</artifactId><version>unknown</version><jar>connector.jar/jar><url>http://java.sun.com/j2ee/connector/download.html</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> dom4j-1.4.jar <dependency><groupId>dom4j</groupId><artifactId> dom4j</artifactId><version>1.4</version><url>http://www.dom4j.org/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> ehcache-0.6.jar <dependency><groupId>ehcache</groupId><artifactId> ehcache</artifactId><version>0.7</version><url>http://ehcache.sourceforge.net/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> hibernate2.jar <dependency><groupId>hibernate</groupId><artifactId>hibernate</artifactId><version>2.1.6</version><url>http://www.hibernate.org/6.html</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> hibernateUtil.jar ? <dependency><groupId>csir</groupId><artifactId>hibernateUtil</artifactId><version>unknown</version><jar>hibernateUtil.jar</jar><url>http://www.hibernate.org/6.html</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> jta.jar <dependency><groupId>csir</groupId><artifactId>jta</artifactId><version>unknown</version><jar>jta.jar</jar><url>http://java.sun.com/j2ee/transactions/index.jsp</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> log4j-1.2.8.jar <dependency><groupId>log4j</groupId><artifactId>log4j</artifactId><version>1.2.8</version><url>http://logging.apache.org/log4j/docs/download.html</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> odmg-3.0.jar <dependency><groupId>odmg</groupId><artifactId>odmg</artifactId><version>3.0</version><url>http://www.odmg.org/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> xerces-2.4.0.jar <dependency><groupId>xerces</groupId><artifactId>xerces</artifactId><version>2.4.0</version><url>http://xml.apache.org/xerces2-j/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> coefficient/lib/jfreechart: gnujaxp.jar <dependency><groupId>gnujaxp</groupId><artifactId>gnujaxp</artifactId><version>1.0beta1</version><url>http://www.gnu.org/software/classpathx/jaxp/jaxp.html</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> jcommon-0.9.6.jar <dependency><groupId>jcommon</groupId><artifactId>jcommon</artifactId><version>0.9.6</version><url>http://www.jfree.org/jcommon/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> jfreechart-0.9.21.jar <dependency><groupId>jfreechart</groupId><artifactId>jfreechart</artifactId><version>0.9.21</version><url>http://www.jfree.org/jfreechart/</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> coefficient/lib/mail: activation.jar <dependency><groupId>csir</groupId><artifactId>activation</artifactId><version>unknown</version><jar>activation.jar</jar><url>http://java.sun.com/products/javabeans/glasgow/jaf.html</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> mail.jar <dependency><groupId>csir</groupId><artifactId>mail</artifactId><version>unknown</version><jar>mail.jar</jar><url>http://java.sun.com/products/jms/index.jsp</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> -------- Element non lister . <dependency><groupId>servletapi</groupId><artifactId>servletapi</artifactId><version>2.3</version><url>http://www.hibernate.org/6.html</url><properties><war.bundle>true</war.bundle><ear.bundle>true</ear.bundle><cactus.bundle>true</cactus.bundle></properties></dependency> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Coefficient-devel mailing list Coe...@li... https://lists.sourceforge.net/lists/listinfo/coefficient-devel |
From: Charles-Alexandre S. <ka...@de...> - 2004-12-31 10:11:23
|
If the aspectj probl=E8me seems to be linked to some methode define in=20 hibernateUtil.jar do you think you could send me those two java files in=20 order for me to adapter them for the project ? I wonder why did you choose to create a package with net.sf.hibernate/util= =20 instead of adding it into coefficient ? Le vendredi 31 D=E9cembre 2004 10:24, Dylan Etkin a =E9crit : > Hi, > I believe the problem you are having with aspectj is that you are using > the latest version. I tried to move to the current version about 2 > months ago and found the same errors that you are describing, I tried to > fix it for a couple of hours and did not get a solution. If you make the > dependancy on the version of aspectj that we include in the lib dir you > should be ok. > As to the hibernateUtil.jar that is a jar containing some code that we > have created to wrap the hibernate session, it is not downloadable via > maven so it will have to stay in a local lib dir. > Thanks for the work, can't wait to see coefficient build with maven. > > Cheers, > Dylan > > Dylan Etkin > ISTC > +27 12 841 3200 > > >>> Charles-Alexandre Sabourdin <ka...@de...> 12/29/04 > > 2:38 PM >>> > Hi, > So I did list and update all the dependency. > and modify some of the structure > and I have the following problem : (I have tonnes of those errors) > > and update the project.xml with those. > /home/sabourdin/java/cvs/coefficient/clean-from-cvs/maven/coefficent/src/= ja >va/za/org/coefficient/util/workflow/WorkflowEvaluatorFacade.java:86:0 > > Ambiguous binding of type java.lang.Object using args(..) at this line. > Use > one args(..) per matched join point, see secondary source location for > location of extraneous args(..) > see > also: > /home/sabourdin/java/cvs/coefficient/clean-from-cvs/maven/coefficent/src/= as >pectj/za/org/coefficient/aspects/base/BaseCoefficientAspect.java:52 [error > 455]: error at HibernateUtil.saveOrUpdate(wd); > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ =2D-=20 Charles-Alexandre SABOURDIN =2D---------------- |
From: Dylan & A. E. <dn...@gm...> - 2005-01-01 18:19:43
|
I am moving at the moment and my access to my computer is currently not available, it sounds like a pain but the easiest would be to decompile the classes using JAD from the jar that you have. The reason it is in the hibernate package space is because this is a bit of code that I have used across about 4-5 projects and I did not want to force a reference to the coefficient package space in the other projects. I think that the problem lies with the aspect pointcut definitions, for some reason with the later version of aspectj they seem to have become broader than they were with the older version. Happy new year and good luck, Dylan On Fri, 31 Dec 2004 11:11:29 +0100, Charles-Alexandre Sabourdin <ka...@de...> wrote: > If the aspectj probl=E8me seems to be linked to some methode define in > hibernateUtil.jar do you think you could send me those two java files in > order for me to adapter them for the project ? >=20 > I wonder why did you choose to create a package with net.sf.hibernate/uti= l > instead of adding it into coefficient ? >=20 > Le vendredi 31 D=E9cembre 2004 10:24, Dylan Etkin a =E9crit : > > Hi, > > I believe the problem you are having with aspectj is that you are usin= g > > the latest version. I tried to move to the current version about 2 > > months ago and found the same errors that you are describing, I tried t= o > > fix it for a couple of hours and did not get a solution. If you make th= e > > dependancy on the version of aspectj that we include in the lib dir you > > should be ok. > > As to the hibernateUtil.jar that is a jar containing some code that we > > have created to wrap the hibernate session, it is not downloadable via > > maven so it will have to stay in a local lib dir. > > Thanks for the work, can't wait to see coefficient build with maven. > > > > Cheers, > > Dylan > > > > Dylan Etkin > > ISTC > > +27 12 841 3200 > > > > >>> Charles-Alexandre Sabourdin <ka...@de...> 12/29/04 > > > > 2:38 PM >>> > > Hi, > > So I did list and update all the dependency. > > and modify some of the structure > > and I have the following problem : (I have tonnes of those errors) > > > > and update the project.xml with those. > > /home/sabourdin/java/cvs/coefficient/clean-from-cvs/maven/coefficent/sr= c/ja > >va/za/org/coefficient/util/workflow/WorkflowEvaluatorFacade.java:86:0 > > > > Ambiguous binding of type java.lang.Object using args(..) at this line. > > Use > > one args(..) per matched join point, see secondary source location for > > location of extraneous args(..) > > see > > also: > > /home/sabourdin/java/cvs/coefficient/clean-from-cvs/maven/coefficent/sr= c/as > >pectj/za/org/coefficient/aspects/base/BaseCoefficientAspect.java:52 [err= or > > 455]: error at HibernateUtil.saveOrUpdate(wd); > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >=20 > -- > Charles-Alexandre > SABOURDIN > ----------------- >=20 > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Coefficient-devel mailing list > Coe...@li... > https://lists.sourceforge.net/lists/listinfo/coefficient-devel > |
From: Thomas F. <tfo...@cs...> - 2005-01-03 13:26:54
|
On Sat, 2005-01-01 at 20:19 +0200, Dylan Etkin wrote: > ... it sounds like a pain but the easiest would be to > decompile the classes using JAD from the jar that you have ... better yet, see: http://icomdmz1.csir.co.za/~tfogwill/files/hibernateUtil-src.tgz Cheers -- Thomas Fogwill <tfo...@cs...> |