Alysist
Posts: 3
|
| Posted: 04/06/2011, 11:36 AM |
|
I have a project that was created in CCS 3.1.1 and I need to use and modify in CCS 4.3, the problem is that when I generate then publish ( without making any changes to the project) the project I get the following error with the CCSTemplate class and the ITemplate interaface, in the compile fase :
compile:
[mkdir] Created dir: C:\DOCUME~1\villeli1\LOCALS~1\Temp\~eol1\CCSBuild\app\WEB-INF\classes
[javac] Compiling 731 source files to C:\DOCUME~1\villeli1\LOCALS~1\Temp\~eol1\CCSBuild\app\WEB-INF\classes
[javac] C:\DOCUME~1\villeli1\LOCALS~1\Temp\~eol1\CCSBuild\src\com\codecharge\template\CCSTemplate.java:22: com.codecharge.template.CCSTemplate is not abstract and does not override abstract method parseAndPrintForUpdatePanel(java.lang.String,boolean) in com.codecharge.ITemplate
[javac] public class CCSTemplate implements ITemplate {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error
BUILD FAILED
C:\DOCUME~1\villeli1\LOCALS~1\Temp\~eol1\CCSBuild\build.xml:46: Compile failed; see the compiler error output for details.
Total time: 20 seconds
=======================================
Error:
BUILD FAILED
Compile failed; see the compiler error output for details.
*****************************************
I have the jdk1.6.0_14 installed. I dont know why the parseAndPrintForUpdatePanel method is included only in the ITemplate interface and not is implemented in the CCSTemplate class.
Please help me with this
|
 |
 |
damian
Posts: 838
|
| Posted: 04/06/2011, 3:48 PM |
|
backup your app, then back it up once more
delete all the .php/.asp (whatever the equivalent is in your java? environment) except any _event.* files
regenerate the project and it should create with up to date code...
if not - restore your backup and keep looking for solution.
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
Oper
Posts: 1195
|
| Posted: 04/07/2011, 10:21 AM |
|
and like Damian said
after you backup one more
Doit again one more.
and maybe one more again.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
Alysist
Posts: 3
|
| Posted: 04/07/2011, 10:43 AM |
|
Thx, but your solution not works for me.
Believe I found a no elegant solution but it seems works at the moment.
When publish the project CCS creates a temp folder,
Just before the CCS init the compile fase I go to the path in the temp folder \CCSBuild\src\com\codecharge\template\ and replace the wrong CCSTemplate.java with other CCSTemplate.java obtained from another project created with CCS 4.3 that contains an implementation of the parseAndPrintForUpdatePanel. Then compile SUCCESFULLY.
|
 |
 |
|