phpCAS latest release v0.5.0-RC6 - last update 8-February-2007 20:18PM

phpCAS release management

esup-phpcas-devel is a package is used by phpCAS developers to maintain releases. It is contains an Ant build.xml file, of which you can use the dist target to create ready-to-distribute archives of the esup-phpcas and esup-phpcas-devel packages.

Both packages can get downloaded from the download section of the project page.

phpCAS developers use Eclipse to get a nice programming environment fitted to Ant.

Ant 1.6.1+ is needed

In order to make the <concatFilter> tag work within filterChains, Ant 1.6.1 (at least) is needed.

How to install a different version of Ant in Eclipse

As Eclipse 3.0.M7 is shipped with Ant 1.6.0, you needed to change the Ant program used by this version of Eclipse to get the dist target working. Here is the way to get help to do it:

  1. in Eclipse, under the "help" menu, select "Help Contents";
  2. in the left hand (content) frame of the help page, expand the "workbench user guide" book;
  3. under the "workbench user guide" book, expand the "concepts" chapter,
    then the "external tools" subchapter
  4. click on the "ant support" topic. this loads ant support info in the right hand frame;
  5. at the bottom of this is a link titled "Using a different version of Ant" which leads to a page with all the info you need;
  6. follow the instructions to "Change the Ant runtime classpath" (simply replace the original ant JARs by yours).

Doxygen

Doxygen is needed to generate the source documentation included in the esup-phpcas package, thus it should:

  1. install Doxygen on your system;
  2. set the doxygenPath property accordingly in properties/build-devel.properties.

Note: a ant_doxygen.jar file is provided by the esup-phpcas-devel package (in the devel/lib/ folder) to call Doxygen from Ant.

SFTP

Documentation can be uploaded to the project web site thanks to the sourceforge-upload-dist target, which performs a encrypted upload to sourceforge.net.

Note: j2ssh-*.jar files are provided by the esup-phpcas-devel package (in the devel/lib/ folder) to use SFTP.

FTP

As ftp is an optional ant task, some additionnal libraries are neeed. The commons-net library should be downloaded from http://jakarta.apache.org/commons/net and added to Ant jars. To do this in Eclipse: Window -> Preferences -> Ant -> Runtime -> Add External Jars -> commons-net-1.1.0.jar.

 
 
SourceForge.net Logo

Copyright © 2002-2006 - ESUP-Portail consortium