As JBoss Portal is Open Source project we have free licence for Intellij IDEA IDE from JetBrains. This are just project and module files.
Thanks for the response
So these files are not required to run JBoss portlets. If i use a different these files would not be generated for sure.
Please throw some light
sorry for the typo; I meant if i use a different IDE, these files will not be generated.
I use Eclipse Standard Development Kit IDE (www.eclipse.org). In Eclipse, the project file is ".project" and the class file is ".class". These files are for Eclipse only. They do not affect my portal project at all.
What effects do these files have on your portal? Is there any problem that you are having or solution that you are trying to reach? All developers could be using UltraEdit or Notepad, and then files like these would not be created at all.
Don't take my last comment personal... I am just wondering what issues that you are having.
> Can someone provide links which specify steps for creating a portal from scratch in JBossPortal
Concerning your portal and portlet matters, I would use this link below to download the JSR 168 specifications:
There are also lots of sample portlets at www.portletswap.com. You also have the wiki and JBoss Portal Documents too.
Regarding creating a portal from scratch, if you dislike mousing around in the Management Portlet, you could instead provide a *-object.xml file, such as the portalb-object.xml file I listed in http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89997.
If you really want to start from scratch, in other words, the first time you bring up the portal only your portal is available (and not the "default" portal provided as part of JBoss Portal), then edit the files in jboss-portal.sar/portal-samples.war/WEB-INF. Then the only thing left to do is modify the theme so it has your logo instead of the JBoss Portal logo. You can find that at jboss-portal.sar/portal-core.war/phalanx/images/logo.gif (or jboss-portal.sar/portal-core.war/themes/*/images/logo.gif).
Thanks for the response. After observing the deploy folder i have the following questions:
how does the url: http://localhost:8080/portal/portal/default/helloworld maps to the deployed war file in "C:\jboss-4.0.4-Portal2.2.1SP1-EJB3\jboss-4.0.4.GA\server\default\deploy"
I mean this is the folder where are the war files are placed. until now i have tried portlets, by adding pages to default JBoss Portal.
But i am not very clear how to create my own portal and add pages to it
In short when i say http://localhost:8080/portal/mycompanyportal/companydefault -> should show my company portal , not the jboss default one.
Should i do the following ?
1.Create a mycompany-portal.sar file.
this sar file in-turn contains
conf -> contains data, hibernate, themes ..etc
lib -> contains all the library files
war -> contains web-inf , Meta-inf files. (but i am not very clear here). since all the example portlets, i tried until now have class-files ( organized via class folders, org.jboss.portal.hello.helloworld.class) inside the war,
but in the C:jboss-4.0.4.GA\server\default\deploy\jboss-portal.sar\portal-samples.war does not have any classes
am i missing some thing?.
Can you please throw some light.
thanks for all the help
Did you try the *-object.xml file I provided in the other post? I even included packaging and deployment instructions. The end result is a portal that you can access via http://localhost:8080/portal/PortalB.
In other words, leave the jboss-portal.sar directory alone, don't change anything in there. Simply provide a new war file with a *-object.xml file that describes your new portal. This portal can include any portlets that have been deployed (whether they came with the JBoss Portal or not).
I tried this: I have used the *-object.xml you have provided in the forum and used in my helloworld-object.xml, (helloworld.war sample from portalswap.com) in Web-Inf folder inside helloworld.war file. In short i replaced the contents of helloworld-object.xml with your file contents.
Then, ihave tried http://localhost:8080/portal/PortalB. The result is same as using http://localhost:8080/portal/portal/default/ . I mean all other portlets which come with JBoss are present in this PortalB. I am little lost here.
I was thinking that since PortalB has only two pages only these pages should appear, by i do have pages Test and default.
Can you please throw some light.
Thanks it worked. But i have question regarding the url stuff.
http://localhost:8080/portal/yourportalname/yourportaldefaultpage, should be the url i mean this what i understood from the document
With the JBoss Portal stuff: http://localhost:8080/portal will be common for all the portal.s
I was not clear why we have to do http://localhost:8080/portal/portal/PortalB for the this one.
Incase you know can you please explain how the "/portal/portal/PortalB" (i.e relative path) maps to things in config files. I mean in *-object.xml we just specified name as PortalB. I am not clear why we have to use "http://localhost:8080/portal/portal/PortalB"
"instead of just http://localhost:8080/portal/PortalB"
Please throw some light.
Sorry, I don't know why it works the way it does, I only know that it works this way.
I do recall a discussion on this topic in the forum a couple of months back, perhaps that might clarify things (sorry, I don't recall which topic it was in, so I can't give you a link).