You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Martin Marinschek <ma...@gmail.com> on 2005/07/08 07:34:03 UTC

Building MyFaces in your IDE

Hi everyone,

I have included a short tutorial on the WIKI which shows how to build
MyFaces in the IntelliJ IDE.

I know that there are several Eclipse users out there, maybe one of
them wants to do such a step-by-step instruction for Eclipse as well,
so that people don't have to reinvent the wheel here.

regards,

Martin

Re: Building MyFaces in your IDE

Posted by John Fallows <jo...@gmail.com>.
On 7/8/05, Werner Punz <we...@gmx.at> wrote:
> Excellent idea, but for Eclipse somewhat problematic (see below)....
> 
> I am not going to put a blank project online unless there really is a
> demand, there is at least the Exadel plugin for eclipse 3.0 which is
> totally free and several limited time versions for 3.x (and Exadel might
> also do a free version for 3.1, all those basically give the IDE users a
> good headstart, I just put references to those plugin collections into
> the Wiki. That one might serve users better than giving them a blank
> preconfigured project.
> 
> The main problem I saw with doing that with Eclipse on a second though,
> was, that Eclipse for now does not have any Webapp support at all, all
> the webapp power has to be integrated via external plugins.
> 
> So if you want to do serious webapp development, you have to start to
> search for plugins anyway, and pointing them towards a blank webapp
> project does not good in this case, if the user is a newby.
> So pointing them towards a workable decent free or cheap plugin
> collection which is able to generate a project structure might be better.

Of course, if the Eclipse IDE files are generated on the user's
machine by Maven(2), then the user can have local configuration to
tell the Maven(2) plugin which Eclipse webapp plugins are preferred,
and this can influence the contents of the generated project files as
necessary.

Or we could open source the Maven2 JDeveloper Plugin and then you
could generate the JDeveloper project files and do webapp development
for free without searching for any plugins. :-)

Kind Regards,
John Fallows.

Re: Building MyFaces in your IDE

Posted by Werner Punz <we...@gmx.at>.
Excellent idea, but for Eclipse somewhat problematic (see below)....

I am not going to put a blank project online unless there really is a 
demand, there is at least the Exadel plugin for eclipse 3.0 which is 
totally free and several limited time versions for 3.x (and Exadel might 
also do a free version for 3.1, all those basically give the IDE users a 
good headstart, I just put references to those plugin collections into 
the Wiki. That one might serve users better than giving them a blank 
preconfigured project.

The main problem I saw with doing that with Eclipse on a second though, 
was, that Eclipse for now does not have any Webapp support at all, all 
the webapp power has to be integrated via external plugins.

So if you want to do serious webapp development, you have to start to 
search for plugins anyway, and pointing them towards a blank webapp 
project does not good in this case, if the user is a newby.
So pointing them towards a workable decent free or cheap plugin 
collection which is able to generate a project structure might be better.


Werner



John Fallows wrote:
> I know we haven't looked closely at Maven(2) for MyFaces yet, but has
> anyone tried the following commands on other projects that use Maven?
> 
> maven idea
> maven eclipse
> 
> http://maven.apache.org/reference/plugins/idea/
> http://maven.apache.org/reference/plugins/eclipse/
> 
> We have developed an in-house Maven2 JDeveloper 10g plugin that
> generates the workspace and all project files, with correct local
> library definitions pointing into the local Maven repository and
> proper inter-project dependency mechanisms.
> 
> m2 jdeveloper:jdeveloper
> 
> The idea and eclipse plugins are also available for Maven2.
> 
> m2 idea:idea
> m2 eclipse:eclipse
> 
> http://maven.apache.org/maven2/plugins/maven-eclipse-plugin/
> http://maven.apache.org/maven2/plugins/maven-idea-plugin/
> 
> Perhaps this will be a useful approach for MyFaces developers in the future.
> 
> Kind Regards,
> John Fallows.
> 


Re: Building MyFaces in your IDE

Posted by John Fallows <jo...@gmail.com>.
I know we haven't looked closely at Maven(2) for MyFaces yet, but has
anyone tried the following commands on other projects that use Maven?

maven idea
maven eclipse

http://maven.apache.org/reference/plugins/idea/
http://maven.apache.org/reference/plugins/eclipse/

We have developed an in-house Maven2 JDeveloper 10g plugin that
generates the workspace and all project files, with correct local
library definitions pointing into the local Maven repository and
proper inter-project dependency mechanisms.

m2 jdeveloper:jdeveloper

The idea and eclipse plugins are also available for Maven2.

m2 idea:idea
m2 eclipse:eclipse

http://maven.apache.org/maven2/plugins/maven-eclipse-plugin/
http://maven.apache.org/maven2/plugins/maven-idea-plugin/

Perhaps this will be a useful approach for MyFaces developers in the future.

Kind Regards,
John Fallows.

Re: Building MyFaces in your IDE

Posted by Werner Punz <we...@gmx.at>.
Currently adding some eclipse related docs, since I am new to the entire
project build process, I will probably need some additonal time
(currently I have some quirks in the directories the build files expect 
and my root project in eclipse)

I already added the info on how to download the sources via subclipse. 
But I will need more time to figure the entire build process out.

A minor question, I noticed that Martin added some info on how to setup 
a web project from Intellij for MyFaces.

Well Eclipse does not have per se a web plugin, there are some out there 
however.
What I could do, would be to generate a blank working myfaces 1.0.9 
project from my ide (using Exadel and MyEclipse) with all the needed 
libs and dump it somewhere for the others to use.

That would give some with the appropriate plugins, but who do not have 
one of the ides which already support myfaces, a huge headstart..

IS anyone interesting in such a blank project without build files, but 
the correct webapp and source structures?
If yes I can dump it on a server if anyone is interested.
For now I could dump it onto my machine at home and link the wiki, but 
later I would need an upload location.



Werner



Werner Punz wrote:
> Martin Marinschek wrote:
> 
>> Hi everyone,
>>
>> I have included a short tutorial on the WIKI which shows how to build
>> MyFaces in the IntelliJ IDE.
>>
>> I know that there are several Eclipse users out there, maybe one of
>> them wants to do such a step-by-step instruction for Eclipse as well,
>> so that people don't have to reinvent the wheel here.
>>
>> regards,
>>
> Hi Martin... I will try it out with Eclipse later this evening, since I 
> am in need for a antless build solution anyway (up until now I just 
> compiled parts of it for debugging purposes), and add
> the entries to the wiki, so expect some content regarding eclipse in 
> there later this evening (day - depending on your timezone)
> 
> 


Re: Building MyFaces in your IDE

Posted by Werner Punz <we...@gmx.at>.
Martin Marinschek wrote:
> Hi everyone,
> 
> I have included a short tutorial on the WIKI which shows how to build
> MyFaces in the IntelliJ IDE.
> 
> I know that there are several Eclipse users out there, maybe one of
> them wants to do such a step-by-step instruction for Eclipse as well,
> so that people don't have to reinvent the wheel here.
> 
> regards,
> 
Hi Martin... I will try it out with Eclipse later this evening, since I 
am in need for a antless build solution anyway (up until now I just 
compiled parts of it for debugging purposes), and add
the entries to the wiki, so expect some content regarding eclipse in 
there later this evening (day - depending on your timezone)