David Herbert wrote:
[snip]
(1) is anyone else using the Netbeans IDE successfully (I note that Eclipse
and one other commercial IDE have plugins, but I don't really understand what
these do)? Or do I just have to abandon Netbeans altogether?
NetBeans 5.0 RC1 was released yesterday with further improvements and
bug fixes, namely the ability to deploy/consume web services without the
Sun Application Server container and support for additional application
servers. So, it will be silly to give up on this great IDE. Besides, the
final release of NetBeans 5.0 is due later this month.
I have used different post-4.0 versions of NetBeans to create web
applications with RIFE, but surprise myself by constantly finding new
ways of doing certain things better. I will briefly describe how I
configure my project to ease development with the RIFE framework.
(2) What directory structure does RIFE expect for a Java project? Is it as
rigid as wanting a WEB-INF/classes directory under the project root, or can I
organise files differently?
I think the reason why "rep", "elements", "templates" and "sites" (the
main RIFE configuration folders) fall under the root source folder is to
simplify deployment. However, these can be placed anywhere as long as
Ant tasks are set up to look in the correct locations.
Under NetBeans, such locations are specified in the project properties.
NetBeans also allows you to specify your source folders, so the trick is
to create another one for RIFE configuration files.
This can be done in three simple steps.
1. Create a folder called "rife" under "src" (which is the default
source folder for NetBeans projects).
2. Add "src/rife" as a source folder and label it "RIFE Configuration".
3. Move "rep", "elements", "templates" and "sites" under "src/rife" so
that they now appear as packages in the Project window.
Please see the screenshot for the final layout.
By doing this, I managed to make RIFE configuration files less invasive.
My source code, unit tests and RIFE files are completely separated and
easier to manage.
Let me know what you think about this. I will try and contribute this to
the wiki when I have some free time.
(Apologies if attachments are not allowed.)
Regards,
Eddy
--
http://coding.mu
http://priscimon.com/blog

_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users