Portal Pack 3.0.4, Service builder Plugin is broken with Liferay 6.0.5

Posted: September 22, 2010 in NetBeans, Technology
Tags: , , , , ,

I got few comments in my previous blog that the Service Builder functionality is broken in Portal Pack 3.0.4 & Liferay 6.0.5. After a  little investigation, I found that there are few changes in the new liferay release in service builder part.  I will fix that issue in the next release.

It is a regression and due to lack of QA resources, we could not test it.

Meanwhile, I would really like to know from the users that what are the features you are using most in Portal Pack ?  And any area where you want improvement ? These information are really critical for the next release, as I don’t have much bandwidth to develop and test everything 😦 . So based on your feedback I can priorities the areas and will make sure those would be tested properly in future releases.

Also based on your feedback, if there are more users using service builder plugin in Portal Pack, I will try to do a better integration for service builder plugin in Portal Pack.

Also if  you have any new suggestions or if you would like to contribute to this project in any way like QA or development, please let me know.

Cheers !!!

Updated:

There is a workaround or alternative which is little tricky.

– Please download the  servicebuilder.jar  from http://portalpack.netbeans.org/servicebuilder.jar

– Go to your ~userhome/.netbeans/6.9/ directory

– Remove the existing servicebuilder directory

-Unjar the downloaded jar inside ~userhome/.netbeans/6.9 directory

-Now try to generate the service without restarting NetBeans. It should work.

But if you restart your NetBeans, the servicebuilder directory will be overwritten with the default files. So you need to follow the above steps again.

Advertisements
Comments
  1. vint says:

    Thank you , it’s just work. I tested it on LifeRayPortal6.0.5 , netBeans6.9 and also PortalPack 3.0.4

  2. Arun Kumar says:

    Portal pack 3.0.4 download link was not working. Any other link to download.

    Thanks
    Arun

  3. Arun Kumar says:

    hi,
    i can download the portal pack now and i installed

  4. Aditya says:

    I followed the steps. But I am getting error while building service. I am new to portlet’s Please help me.

    Error:

    java.lang.NullPointerException: Must pass non-null build script
    at org.apache.tools.ant.module.api.support.ActionUtils.runTarget(ActionUtils.java:85)
    [catch] at org.netbeans.modules.portalpack.websynergy.servicebuilder.helper.GenerateServiceHelper$2.run(GenerateServiceHelper.java:296)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

  5. Aditya says:

    My Environment:

    Netbeans 6.9.1
    Portal Pack 3.0.4
    Liferay 6.0.5

  6. Aditya says:

    Sorry My Mistake Its working

  7. James says:

    The work arround seems to work :). I do use service builder a lot in liferay 5.2.3 im giving liferay 6 a try, it looks really nice visually, but it looks really buggy to

  8. Johan says:

    I have the problem with this instruction when try the build application:

    ${serviceBuilder.getTypeGenericsName(method.returns)}

    Someone the solution?. Thanks…

  9. Pageraz says:

    thank you very much i had the problem
    but now it works just fine by following these steps

    Regards

  10. Tara says:

    Hi,

    Any idea when the next version of Portal Pack will be released which fixes the issues with Service Builder?

    Tara

  11. mspiller says:

    There seems to be the problem with deploying portal pack on NetBeans 6.9.1. New Project seems to be missing portlet projects. However it does show portlet containers under add server. Using 3.0.4 version.

    • Pageraz says:

      I confirm the deploying problem in netbeans 3.9.1
      and for the service builder these steps is not working under netbeans 3.9.1
      when i replace the service builder folder and try to regenerate the service
      it dose nothing
      so i had to go back to netbeans 3.9

      Regards

  12. Pageraz says:

    sorry i wrote 3.9.1 its 6.9.1
    and this problem exist just on linux
    in windows it works perfect but on ubuntu 10.4 not

    i hope there will be a new version soon

    Regards

  13. Satya says:

    I have not tested with NetBeans 6.9.1 yet. I will fix that asap and release a new version.

    BTW, anybody interested to contribute to Portal Pack project in terms of Dev or Testing, just let me know.

  14. Pageraz says:

    Hi Satya
    Im interested in contribute to portal pack in terms dev
    but i have no idea about netbeans plugins
    so how to start ?
    im waiting your response also you have my mail

    Regards

  15. satya says:

    Anybody wants to build Portal Pack from source can check this page

    http://contrib.netbeans.org/portalpack/setup.html

  16. Hajo says:

    http://portalpack.netbeans.org/servicebuilder.jar is down and still no release available!

  17. Riccardo says:

    Hi, I wanted to download the portal pack for a new Netbeans installation but the link appears to be broken. I tried to extract from another Netbeans installation but with no success. Can anyone help? Thank you

  18. Peter West says:

    Hi Satya,

    What is required to make portal pack work with NB 7?

    • Claus says:

      I’m very interested in using PortalPack with Netbeans 7 and Liferay 6.x. What is the current state of the project?
      Thanks.
      Claus

    • satya says:

      There are few changes required to make the Portal Pack work with NB 7. Mostly the library changes. I have already started working on it and currently doing testing. I will upload the binary soon. Anybody wants to help me in testing with NetBeans 7, just let me know. We need to cover the testing for all modules before the next release as there are quite a few changes in all modules.

      Cheers,
      Satya

  19. Tony says:

    Hi

    Whatever i have checked i don’t find any attribute to make a column unique in service.xml mapping in Liferay based project.

    I want to make this bookname unique from DB end,So i have to make change in service.xml.Can any body has an idea what is attribute we need to add to make it unique.

    I am waiting for your reply ASAP.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s