Idea and Eclipse files are available.
For idea you will find the ipr and iml here:
You should look at build/ide/intellij/idea60/
build.iml seems to be missing - so says Idea when trying to load the project.
build is not a Java project, it's just a place to have the build files. (scripts)
I found the build/ide/intellij/idea60/jboss-portal.ipr and copied it to the root of the source directory as the README says. I opened the file with Idea 6.0 and an error ocured:
"Cannot load module c:\... src\build\build.iml. Would you like to remove the module from the project? Yes No"
So i guess that is a bug.
I needed to run generate-lib-file in the build-thirdparty.xml in order to get some classes. Maybe could be put in the readme.
I cant run build.xml as I get some errors. Is there anything else to be done in order to get all the libraries (for example for the class Analyzer)?
You don't need to run generate-lib-file it is called during the fisrt call to build.sh.
Just do "sh build.sh" (or build.bat)
I've tried it, but it does:
Executing C:\jboss-portal-2.6-ALPHA2\src\build\..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/5/0_06\lib\tools/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\xml-apis/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\xercesImpl/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\xalan/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\saxon/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\junit/
Press any key to continue . . .
1) the cleanest way is to create a multimodule project in portal sources dir and then manually add all .iml files as new modules to the project
2) we don't build portal inside intellij - we just edit sources there and build using command line and ant scripts
3) the issue you have with build.sh is probably because you have java installed in "Program Files" (directory with space in name). Yes I know it sucks... Just try using plain ant (call ant command in "build" directory) or move java to better location if you want to invoke ant with .bat scripts.