Currently Being Moderated
3

Migrating CurlUnit to Curl 7.0

Posted by Robert Shiplett on May 14, 2009 3:19:55 PM

The Curl Developer Utilities have not yet moved up to Curl 7, but if you want to install the docs in your Curl 7.0 Documentation Viewer, the step to follow are easy.

 

Start by making a copy of the CDU code folder in one of your curl8 working directories. Then make a copy of the manifest. Use the Curl IDE to create a new EMPTY project in that code directory. Paste back in the contents of the old manifest (the IDE will warn that the manifest.mcurl is being over-written) but edit the resulting manifest.mcurl file to flip up to 7.0 and maybe set the version metadata to 0.3.

 

Now the IDE should show a project with 3 packages. Dbl-click on each package and use the editor to flip the version number in the package expression up from 6.0 to 7.0. Usually you also would have to repeat the same for any .curl or .dcurl file with an applet expression as its header.

 

Right-click on the top pkg and set the component target settings to generate documentation and apply to all packages. Now hit F7 to deploy.. Next use the IDE to select Help | Install Docs. Click the install button on the dialog pane which opens and then navigate to the directory named deploy-default under this new project. Select the manifest.mcurl file. And you now have CurlUnit documentation back in your Curl 7.0 Documentation Viewer.

 

Installing the BlazeDS, SQLite and XML package documentation from sourceforge is just as easy as unzip, then use the IDE F1 | Help | Install Docs and then a click on the install button with navigation to folders named docs-install for each package. Packages usually include example code which is still zipped within the unzipped documentation folders. To try out the BlazeDS examples you are going to want a running Apache application server such as Tomcat.



Add a comment Leave a comment on this blog post.
May 15, 2009 10:25 AM Robert Shiplett Robert Shiplett    says:

I will be putting a site-specific browser for one of the web's most active user communities up on code.google in a couple of days - it illustrates one way tie CurlUnit into TDD for Curl (test-driven development for Curl projects)

May 21, 2009 11:54 AM Robert Shiplett Robert Shiplett    says:

over at eclectic-pencil.com there is a short blog note that logiquewerks.com Curl 7.0 pages now has links to both the CurlUnit example with the Run unit tests button on the testrunner UI and the project for the tests: SSB (site-specific browser) which may not yet run in some linux browsers. The project uses the Curl EmbeddedBrowserGraphic

Jun 3, 2009 8:32 AM Doug McCrae Doug McCrae    says in response to Robert Shiplett:

A new distribution for the CDU is now available.  There's a link in the "code drop" section of the project summary page (http://developers.curl.com/community/curl_open_source/curl_cdu).