-
1. Re: Create a portlet from folder
margotmedia Mar 5, 2009 11:29 AM (in response to margotmedia)If i unzip this package, it create a folder and in the readme.txt the author say that i must use ANT but i never work with ant. Please somebody explain me step by step this, please.
-
2. Re: Create a portlet from folder
conkan Mar 5, 2009 1:34 PM (in response to margotmedia)Step 1: Get ant (Ant is included in JBoss Portal and Eclipse. Otherwise, you can download it from apache.org).
Step 2 (Optional step): Set path to ant. My path is /opt/eclipse/plugins/org.apache.ant_1.7.0.v200803061910/bin. But you can find ant at $PORTAL_HOME/tools/bin
Step 3: Run ant using the targets in build.xml. If you don't specify a target, then the default target will be used. -
3. Re: Create a portlet from folder
margotmedia Mar 6, 2009 4:21 AM (in response to margotmedia)Thank you for your answer. Can you please explain Step 3.
What's the command on shell for my portlet? -
4. Re: Create a portlet from folder
conkan Mar 6, 2009 3:12 PM (in response to margotmedia)>Can you please explain Step 3.
Refer to apache ant's build file specification at www.apache.org. Keep in mind that Eclipse uses apache ant. Therefore, you could build using Eclipse if you provide Eclipse with the proper dependencies. (You can even make a new ant build project using Eclipse.)
> What's the command on shell for my portlet?
Read the portlet specification, JBoss Portal Documentation, and the author's documentation.