You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Mansour <ma...@yahoo.com> on 2007/10/21 18:10:19 UTC
developing jetspeed with eclipse
I find customizing jetspeed is easy the way I do it. Here's how I did
it. From a fresh installation of jetexpress (the binary distribution) I
created the jetexpress war and imported it as an eclipse project. I did
the same for the j2-admin. Then, I imported the server.xml to the
META-INF folder in the jetexpress project.
Now, I can customize the themes and the templates and export the war
file easily. It would be nice to be able to do the same with source
code. I need to add some functionality to the j2-admin. Unforetunately,
thing are not that simple where I have to build from maven (I tried
before and gave up), then I have to find a way to debug in eclipse and
the worst part I have to keep on searching in js2 documentation.
I decided to give this a shot and check out only j2-admin from the SVN.
Things did not go easily as I had to copy the libraries to the lib
folder. I have checked out
http://svn.apache.org/repos/asf/portals/jetspeed-2/trunk/applications/j2-admin/src/
as a dynamic web project and set the contents to "webapp" and the source
to "java" folders. Then copied the missing libraries. One of the errors
I am getting is in the class package
org.apache.jetspeed.portlets.tracking.PortletTrackingPortlet . The error
says:
"The hierarchy of the type PortletTrackingPortlet is inconsistent"
Any idea about how to start developing with the "j2-admin" only without
going through the process of building with maven ?
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: developing jetspeed with eclipse
Posted by Mansour <ma...@yahoo.com>.
Thank you David.
This sounds good. I was able to build every thing from source. I will
try you suggestion about the stand alone j2-admin, and will let you know.
David Sean Taylor wrote:
>
> On Oct 21, 2007, at 9:10 AM, Mansour wrote:
>
>> I find customizing jetspeed is easy the way I do it. Here's how I did
>> it. From a fresh installation of jetexpress (the binary distribution)
>> I created the jetexpress war and imported it as an eclipse project. I
>> did the same for the j2-admin. Then, I imported the server.xml to the
>> META-INF folder in the jetexpress project.
>>
>> Now, I can customize the themes and the templates and export the war
>> file easily. It would be nice to be able to do the same with source
>> code. I need to add some functionality to the j2-admin.
>> Unforetunately, thing are not that simple where I have to build from
>> maven (I tried before and gave up), then I have to find a way to
>> debug in eclipse and the worst part I have to keep on searching in
>> js2 documentation.
>>
>> I decided to give this a shot and check out only j2-admin from the
>> SVN. Things did not go easily as I had to copy the libraries to the
>> lib folder. I have checked out
>> http://svn.apache.org/repos/asf/portals/jetspeed-2/trunk/applications/j2-admin/src/
>>
>> as a dynamic web project and set the contents to "webapp" and the
>> source to "java" folders. Then copied the missing libraries. One of
>> the errors I am getting is in the class package
>> org.apache.jetspeed.portlets.tracking.PortletTrackingPortlet . The
>> error says:
>> "The hierarchy of the type PortletTrackingPortlet is inconsistent"
>>
>> Any idea about how to start developing with the "j2-admin" only
>> without going through the process of building with maven ?
>>
>>
> We hope to better address this situation when we work out the new
> build after 2.1.3 release
> For now, here is a .classpath and pom for j2-admin standalone
>
> http://people.apache.org/~taylor/j2-admin/
>
> Of course you will need to rename project -> .project and classpath ->
> .classpath
>
> Best to try to get it to build with Maven-2 first, as the classpath is
> dependent on M2_REPO variable
> If you don't use Maven-2 then convert it to a WTP project and manually
> copy in the deps into the WEB-INF/lib
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: developing jetspeed with eclipse
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Oct 21, 2007, at 9:10 AM, Mansour wrote:
> I find customizing jetspeed is easy the way I do it. Here's how I
> did it. From a fresh installation of jetexpress (the binary
> distribution) I created the jetexpress war and imported it as an
> eclipse project. I did the same for the j2-admin. Then, I imported
> the server.xml to the META-INF folder in the jetexpress project.
>
> Now, I can customize the themes and the templates and export the
> war file easily. It would be nice to be able to do the same with
> source code. I need to add some functionality to the j2-admin.
> Unforetunately, thing are not that simple where I have to build
> from maven (I tried before and gave up), then I have to find a way
> to debug in eclipse and the worst part I have to keep on searching
> in js2 documentation.
>
> I decided to give this a shot and check out only j2-admin from the
> SVN. Things did not go easily as I had to copy the libraries to the
> lib folder. I have checked out http://svn.apache.org/repos/asf/
> portals/jetspeed-2/trunk/applications/j2-admin/src/
> as a dynamic web project and set the contents to "webapp" and the
> source to "java" folders. Then copied the missing libraries. One of
> the errors I am getting is in the class package
> org.apache.jetspeed.portlets.tracking.PortletTrackingPortlet . The
> error says:
> "The hierarchy of the type PortletTrackingPortlet is inconsistent"
>
> Any idea about how to start developing with the "j2-admin" only
> without going through the process of building with maven ?
>
>
We hope to better address this situation when we work out the new
build after 2.1.3 release
For now, here is a .classpath and pom for j2-admin standalone
http://people.apache.org/~taylor/j2-admin/
Of course you will need to rename project -> .project and classpath -
> .classpath
Best to try to get it to build with Maven-2 first, as the classpath
is dependent on M2_REPO variable
If you don't use Maven-2 then convert it to a WTP project and
manually copy in the deps into the WEB-INF/lib
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org