JBoss.comEnterprise Documentation
For more information on JBoss Developer Studio features, refer to the following FAQ to get the answers on the most "popular" questions.
Linux users may need to do the following to get the Visual Page Editor to work correctly on their machines.
On Red Hat based Linux distributions install the xpLib.i386 package
Type
ln -s libstdc++.so.5.0.7 libstdc++.so.5
and/or use
yum install libXp
Open the JBDS perspective. If you see the Help view open, close it and restart JBDS
If it doesn't help and you use Fedora Core Linux and Eclipse Version: 3.4.1,the issue can be produced because libswt-xulrunner-gtk-3449.so file doesn't present in eclipse-swt-3.4.1-5.fc10.x86_64.rpm/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_64_3.4.1.v3449c.jar.To add this file to eclipse you should:
Decompress eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.4.1.v3449c.jar form eclipse-SDK-3.4.1-linux-gtk-x86_64.tar.gz
Copy libswt-xulrunner-gtk-3449.so file to your Fedora Eclipse location.
Open the file eclipse.ini,which can be found in your Fedora Eclipse location and add the following line:
-Dswt.library.path=/usr/lib/eclipse
,where /usr/lib/eclipse
is the path to your eclipse folder.
If none of these work, do the following:
Clear the Eclipse log file, <workspace>\.metadata\.log
Start Eclipse with the -debug option:
eclipse -debug
Post the Eclipse log file (<workspace>\.metadata\.log) on the forums.
No. JBoss Developer Studio already comes bundled with JBoss Server. We bundle it together so that you don't need to download any additional software and can test your application in a Web browser right away.
If you want to use a different JBoss server installation, after JBoss Developer Studio is installed open Servers View (select Window > Show View > Others > Server > Servers), then right click on this view > New > Server and follow the wizards steps to point to another Jboss Server installation.
JBoss Developer Studio works with any servlet container, not just JBoss. For more information on deployment, please see the Deploying Your Application section.
We highly recommend you to create Seam 1.2.1 project using the JBDS. In other case try to do manually:
Create a Seam Web project to get the JBoss tools structure
Then from your Seam 1.2.1 seam-gen project start doing the following:
Copy src to src
Copy view to Web content
Copy resources individual files to where they are in the seam web project etc.
Yes. From main menu select File > Import > Other > JSF Project (or Struts Project) and follow wizards steps.
Yes. Select File > Import > Web > WAR file, then follow importing steps.
JBoss Developer Studio preconfigures eclipse via the eclipse.ini file to allocate extra memory, but if you for some reason need more memory then by default, you can manually make adjustments in this file. For example:
-vmargs -Xms128m -Xmx512m -XX:MaxPermSize=128m
See Adding Tag Libraries in Visual Web Tools Guide.
To get Code Assist for Seam specific resources in an externally generated project, you should enable Seam features in Project Preferences. Right click an imported project and navigate Properties > Seam Settings. Check Seam support box to enable all available Seam Settings.
To import an example Seam project from jboss-eap into your working directory, you should perform the following steps:
Go to New > Other > Java Project from Existing Buildfile
Point to the build.xml of any chosen project by pressing Browse button
Hit Finish to open the project
As these seam examples are non WTP projects, next you should enable Seam support for them. To do that, right click the project and go to Properties > Seam Settings.
Yes. You can easily import created in Linux JSF, Struts or Seam project to Windows and vice versa.
To do the transferring JSF, Struts or Seam project, go to Menu > Import > General > Existing Projects into Workspace, select the folder where your project stored and press Finish.