It diddn't work.
I checked out jboss-portal-2.0 from the cvs again, opened a new terminal, 
modified local.properties and postgresql.properties. I unset the CLASSPATH and 
modified PATH to be: 
/usr/local/j2sdk1.4.2_06/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/karan/bin

But once again, the build script is behaving as above. It picks up the 
libraries from /usr/share/ant (I changed back the name of this directory) and 
throws up the same errors as above (abbreviated):
  |  ==
  |  ==  Executing 'most' in module 'format'...
  |  ==
  |  ==
  | 
  | BUILD FAILED
  | 
  | 
file:/home/karan/latest/jbossportal5/jboss-portal-2.0/format/../tools/etc/buildfragments/targets.ent:509:
 org.apache.commons.logging.LogConfigurationException: 
java.lang.IllegalAccessError: tried to access method 
org.apache.commons.logging.LogFactory.getContextClassLoader()Ljava/lang/ClassLoader;
 from class org.apache.commons.logging.impl.LogFactoryImpl$1
  |         at 
org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.java:165)
  | 

I renamed the dir /usr/share/ant to /usr/share/ant2 and I got the same errors 
NoClassDefFoundError once again.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869395#3869395

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869395


-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to