[redhat-ccm-list] Unable to locate package

Dennis Gregorovic dgregor at redhat.com
Wed May 5 18:14:53 UTC 2004


If you use the --verbose flag when running ccm load, it will display the
CLASSPATH that it is using.  If ccm-cms-types-midlet-6.1.0.jar is not in
the CLASSPATH, you may need to add it to /etc/ccm/ccm.classpath.  This
is done automatically in the %post step of CCM RPMs built using the
ccm-scripts package.

-- Dennis


On Wed, 2004-05-05 at 13:11, Giridhar Shanbhag wrote:
> Hi,
> 
> I am using RedHat CMS 6.1 on RedHat Linux 9.0.
> 
> I have followed the guidelines in RedHat CMS Developers Guide Chapter 7 to
> create a custom content type called ccm-cms-types-midlet (derived from
> ContentPage). 
> 
> After writing the sql, pdl and src files, I ran "ccm-configure.sh". This worked
> fine. Then I ran "ant deploy". This worked fine too and said BUILD SUCCESSFUL.
> 
> Next I tried to load this content type into ccm using
> 
> # ccm load --interactive ccm-core ccm-cms ccm-cms-types-midlet
> 
> This returned,
> 
> unable to locate package: ccm-cms-types-midlet
> 
> Question: Where do I specify the package for this new content type so that ccm
> load can find it?
> 
> My environment:
> CCM_SERVLET_TOMCAT_CONF=/usr/share/ccm-tools/server/tomcat/bin/tomcat-conf-gen
> CCM_CONFIG_LIB_DIR=/usr/share/java
> CCM_RPM_DIR=/var/ccm-devel/rpm/root
> CCM_CONFIG_HOME=/usr/share/ccm-devel
> CCM_TOOLS_HOME=/usr/share/ccm-tools
> CCM_DEVEL_CONF_DIR=/etc/ccm-devel
> CCM_DEVEL_HOME=/usr/share/ccm-devel
> CCM_WEBAPP_DIST_DIR=/usr/share/java/webapps
> CCM_HOME=/usr/share/ccm
> CCM_DEVEL_CVSROOT=/var/ccm-devel/cvsroot
> CCM_SCRIPTS_HOME=/usr/share/ccm-scripts
> CCM_DEVEL_ROOT=/var/ccm-devel
> CCM_SERVLET_CONTAINER=tomcat
> CCM_DIST_HOME=/usr/share/ccm-devel
> CCM_SHARED_LIB_DIST_DIR=/usr/share/java
> 
> 
> Any help will be much appreciated.
> 
> thanks,
> Giri
> 
> 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs  
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
> 





More information about the Redhat-ccm-list mailing list