classpath problem since latest nightly upgrades

David ROBIN <[email protected]> 17 May 2004 18:12:06 +0200
Newsgroups gmane.linux.redhat.ccm.general
Organization davidrobin.net
Message-ID <1084810326.27619.38.camel@Shrike>
Hi, i have installed the latest version of WAF 6.1 with CMS.
It was working fine, but since i upgrade to AUTO.05-16-2004  i got an
error when i run ant deploy : 


=======================
[mulder@Shrike testwaf]$ ant deploy
Buildfile: build.xml
                                                                                                                              
init:
     [echo] /var/ccm-devel/dev/mulder/testwaf/build.xml
     [echo] /usr/share/java/
                                                                                                                              
deploy-ccm-core:
     [echo] deployed 'ccm-core' to
/var/ccm-devel/web/mulder/testwaf/webapps
                                                                                                                              
deploy-ccm-cms:
     [echo] deployed 'ccm-cms' to
/var/ccm-devel/web/mulder/testwaf/webapps
                                                                                                                              
deploy-global:
                                                                                                                              
compile-testwaf:
    [mkdir] Created dir:
/var/ccm-devel/dev/mulder/testwaf/testwaf/build/src
    [mkdir] Created dir:
/var/ccm-devel/dev/mulder/testwaf/testwaf/build/classes
                                                                                                                              
copy-src-testwaf:
                                                                                                                              
copy-sql-testwaf:
    [mkdir] Created dir:
/var/ccm-devel/dev/mulder/testwaf/testwaf/build/sql
                                                                                                                              
generate-ddl-testwaf:
    [mkdir] Created dir:
/var/ccm-devel/dev/mulder/testwaf/testwaf/build/sql/testwaf/ddl/postgres
     [java] Exception in thread "main" java.lang.NoClassDefFoundError:
com/arsdigita/persistence/pdl/PDL
       [if] Error in class net.sf.antcontrib.logic.IfTask
                                                                                                                              
BUILD FAILED
file:/var/ccm-devel/dev/mulder/testwaf/build.xml:239: Java returned: 1
                                                                                                                              
Total time: 2 seconds

========================

I fix it by modifying one of the path tag : 

 <path id="ccm-core.build.classpath">
        <fileset dir="${apps.ccm-core.location}/">
          <include name="ccm-core-6.1.0/**"/>          
          <include name="ccm-core-6.1.0.jar"/>

 <!-- i add these 2 lines-->       
    <include name="ccm-core-6.1.0.AUTO.05.16.2004.jar"/>	    
    <include name="ccm-core-6.1.0.AUTO.05.16.2004/**"/>            
 </fileset>
</path>
It seems that the symlink where causing troubles

But i now got another NoClassDefFoundError when i run ccm load 

===================
[mulder@Shrike testwaf]$ ccm load --interactive ccm-core ccm-cms
Exception in thread "main" java.lang.NoClassDefFoundError:
com/arsdigita/packaging/MasterTool
====================================
I tried to do a new project from scratch, but i still got the same
classpath problems.
Before i upgrade i was able to run the cms, and all was working fine
(except that i have no content item because the rpms where missing)

So i think that I have done something wrong when upgrading (i just
download everything, and do rpm -Uvh on all the new rpms)

Should i have done something else to avoid these classpath problems?

Thanks in advance for your help,

David


-- 
Redhat-ccm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ccm-list
Archives: https://www.redhat.com/pipermail/redhat-ccm-list/