CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> IDE/GUI

 Rebuild CCSBuild

Print topic Send  topic

Author Message
DALDEI

Posts: 12
Posted: 10/12/2009, 5:09 AM

I use Java/JSP + Tomcat.
I'm trying to learn CodeCharge Studio 4.3 after almost 10 years with CodeCharge ...
yes its taken that long to start upgrading, would have done it sooner but the conversion from CC to CCS is non-trivial.

In part of my experiences this last 2 weeks I think I've found every way possible to break CCS. Ok thats doubtful, probably only 0.000001% of the possible ways, but its many. I tend to crash CCS atleast twice an hour, and turn perfectly working code into utter gibberish 5 times an hour not knowing what I did wrong. Learning to save things constantly (copy the whole directory).

I started out not using the CCSBuild directory when I saved things. I nievely assumed that this was output from the generate process (like in CC when you hit Build, it regenerates from the source). This appears to be somewhat but not entirely true. At first my simple app, I could delete CCSBuild and regenerate and it would work fine. Then as I got more complicated some tiny things stopped building like my custom code ... I've discovered my custom code is stored in CSSBuild. Then a really frustrating thing happened ... I had copied and moved a bunch of files around and all the old garbage was still in CCSBuild so I wanted to clean it up so I deleted the CCSBuild (knowing my custom code would go away), and rebuilt and all of a sudden my Update Panels stopped working ! It took 2 hours of trying to compare before & after directories and mucking with things until I discovered that the config/web23.xml file stored some magic for the Panels. These settings were not recreated when I rebuilt from "source". There was no way I could find to recreate them so I copied them from an older working build and got it to work again.

So ... long story long ...
Does anyone have any successful or not-so-successful experience of how to "rebuild from source" ? What is the source and what is the output ? Is my assumption that the CCSBuild tree is just "output" entirely wrong ? Was it stupid of me to delete it and try to recreate it ?
Does anyone know of any references on what files and directories in the tree need to be saved to cleanly rebuild an application and what can be deleted ?

Any shared pain anyone wants to express and commiserate ?

Thanks.
=David

_________________
David Lee
CTO Nexstra, Inc
dlee@nexstra.com
View profile  Send private message
datadoit
Posted: 10/12/2009, 5:17 AM

Not familiar at all with this CSSBuild directory. Is this
Java/JSP+Tomcat specific?
DALDEI

Posts: 12
Posted: 10/12/2009, 6:27 AM

I had it spelled wrong, its CCSBuild not CSSBuild.
And I dont know but I am guessing its Java/Tomcat specific. It contains the following files

build.xml
config (dir)
deploy.xml
src (dir)

Inside src is a bunch of java files, some seem to be from the "framwork" and some generated from the ccs source.
Inside config is xml and properties files




_________________
David Lee
CTO Nexstra, Inc
dlee@nexstra.com
View profile  Send private message
javadev
Posted: 10/18/2009, 11:57 PM

AFAIK all custom code goes into the html/jsp/xml files associated with
each page. Eg if you have Page1.ccp, CCS will create associated files
Page1.html, Page1.jsp, Page1.xml and Page1Handlers.jsp (which are the
pages you manipulate in the IDE). All your code (CCS's own and custom)
should be in those pages, unless you manually change files in the
CCSBuild folder. The only times I've had to do that are when sometimes
manually changing web.xml or adding a new java package under the
CCSBuild/src folder.

If you delete CCSBuild (assuming no manual changes to it), CCS will
regenerate it if you click the '+' next to Common Files in the Project
Explorer. You might have to right-click and refresh the entire project a
couple of times to see the regenerated folder, or close and re-open CCS
in some cases.

Sometimes also you will have to clear the user temp folder that CCS uses
to generate the project (eg C:\Docs & settings\yourname\Local
Settings\Temp) so your project will publish correctly after you have
regenerated CCSBuild.
DALDEI

Posts: 12
Posted: 10/19/2009, 4:11 AM

Thanks. I'm using the Servlet code, not the JSP code generation.
It seems to be putting the custom code in the CCSBuild/src directory, but I'v found where to to look. I also found I have to sometimes go into CCSBuild/src and delete the code files for forms or pages I delete or rename.

_________________
David Lee
CTO Nexstra, Inc
dlee@nexstra.com
View profile  Send private message
javadev
Posted: 10/19/2009, 8:10 AM

Ah. I thought you were using Java/JSP...

Is the servlet custom code mixed in with the rest of the com.codecharge
folders or is it separate? I haven't used the servlet generator yet.

If it's not deleting/renaming custom files properly, you may need to log
a support call.

DALDEI wrote:
> Thanks. I'm using the Servlet code, not the JSP code generation.
> It seems to be putting the custom code in the CCSBuild/src directory, but I'v
> found where to to look. I also found I have to sometimes go into CCSBuild/src
> and delete the code files for forms or pages I delete or rename.
>
> _________________
> David Lee
> CTO Nexstra, Inc
>dlee@nexstra.com
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.