[cas-dev] CAS & WTP

Robert Oschwald robertoschwald at yahoo.de
Mon Mar 24 04:18:27 EDT 2008


If you want to work with the svn code and turn that into a wtp project  
directly, you need to edit the .project file directly and add the  
natures you need.
Another possible way (thats how I do it  - even I'm using MyEclipse)  
is to build the cas jar artifacts and check that into a local maven2  
repo.
This way I can work in my own project and use the cas svn jar  
artifacts (the version is x.x.x-SNAPSHOT by default in the cas poms).
Don't forget to copy the non-java files (resource bundles, jsps etc)  
to you project.

Robert

Am 23.03.2008 um 20:25 schrieb Howard Gilbert:

> WTP was designed so that you have to start with an empty “dynamic  
> web project” and then add source. Since the checked in .project file  
> is not a WTP dynamic web project, you cannot turn it into one. You  
> can build an empty project and then copy in the source, but then you  
> lose the SVN connection.
> I have also found the WTP design to launch the selected sever from a  
> generated configuration directory to be a big problem. If it runs  
> everything is great, but if it gets the classpath wrong, then it  
> seems almost impossible to figure out why the jar file is missing.
> I recommend using MyEclipse instead. For $32 a year you get a  
> package that includes all the WTP function, much easier to  
> configure, and it does allow you to convert the existing checked out  
> CAS server project into a Web project. I have instructions on how to  
> do this, but they need to be updated to reflect the MavenEclipse  
> plugin (they apply to the last release and have to be adapted to the  
> trunk). They can be downloaded as a Powerpoint 2007 file at http://www.yale.edu/tp/DevelopingCAS.pptx 
> . [If something vends this file as a “.zip”, change the extension  
> back to pptx].  There are notes pages with the text that explains  
> everything.
> I really tried to get WTP working on its own. Maybe someone who  
> understands its internals better than me can do it, but this is not  
> something you can get working with just the public instructions.  
> Life is too short to try and save $32 a year.
>
> From: cas-dev-bounces at tp.its.yale.edu [mailto:cas-dev-bounces at tp.its.yale.edu 
> ] On Behalf Of Pierrick Doreau
> Sent: Sunday, March 23, 2008 2:05 PM
> To: cas-dev at tp.its.yale.edu
> Subject: [cas-dev] CAS & WTP
>
> Hello,
>
> Is it possible to use CAS sources with Eclipse + MavenEclipse plugin  
> + WTP plugin ?
>
> Thanks
>
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20080324/72d7784d/attachment.html 


More information about the cas-dev mailing list