Compile CMS
Vladislav Pernin <[email protected]> Mon, 19 Jul 2004 15:52:36 +0200
| Newsgroups | gmane.linux.redhat.ccm.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I need to make some modifications to the CMS and so to be able to compile it.
Here is the point : what is the right way to do it?
I have error because of the fact the ant, in the compile task doesn't find the
required classes about CCM. Actually I have also modified CCM, "renamed" it at
the time ccm-core-custom and compile it successfuly. I have tried to set the
following line in project.xml :
<ccm:prebuilt>
<ccm:application name="ccm-core-custom" version="1.0.0"/>
</ccm:prebuilt>
and also in ccm-cms-custom/application.xml :
<ccm:dependencies>
<ccm:requires name="ccm-core-custom" version="1.0.0"/>
</ccm:dependencies>
I think that this will work if the right .jar could be found in /usr/share/java
like ccm-core-custom-1.0.0.jar or ccm-core-custom-1.0.0-system.jar. So I have
performed the rollingbuild.sh script which build everything except the rpm
because of missing dependencies. But it has built the jar and I put them in
/usr/share/java.
Then build failed because it tries to access file in
/usr/share/ccm-devel/applications and the folder applications does not exist.
Here is the build failed error.
_compile-ccm-cms-custom:
[javac] Compiling 511 source files to
/var/ccm-devel/dev/vpernin/ccm-cms-custom/ccm-cms-custom/build/classes
BUILD FAILED
file:/var/ccm-devel/dev/vpernin/ccm-cms-custom/build.xml:152:
/usr/share/ccm-devel/applications/ccm-core-custom-1.0.0/dist/WEB-INF not
found.
I finally tried to put the .jar in the dev lib directory but it seems that the
classpath given to the compile task does not include this folder.
Second thing, what is the right way to use the rollingbuild script and is there
some doc about it?
Thanks in advance,
Vladislav Pernin
--
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/