[Installation, Configuration & DEPLOYMENT] - Re: building jboss or microkernel question
by PeterJ
As you have already found out, JBoss AS is a project that includes many other open source projects, many of which are other JBoss projects. And as you found out, those other projects are included mainly as binaries in the thirdparty directory.
I think that the closest you will get to what you want is to run this command from thridparty directory:
mvn package -Pdownload-sources
This command will download most of the sources you are interested in. For example, three source jar files appear in thirdparty/jboss/microcontainer/lib. You can unpack those and use those sources.
What I do is modify the source files I want, compile only the files I changed using the existing JAR files in my javac classpath, and then replacing the original class files in the original JAR files with my newly compiled class files. The result is that the JAR file has my updated classes and the rest of the classes are the originals that shipped with the app server. I know this is not ideal, but I have used this process countless times to make modifications to help track down issues.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198381#4198381
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198381
17 years, 4 months
[JBoss and NetBeans] - Re: Configuring JBoss 5.0.0.GA in NetBeans 6.5
by Adrigan
Try putting this into your .nbattrs file (Click on Help --> About) in netbeans and it will tell you where your profile is at the value "user dir." Add
"config\J2EE\InstalledServers" to find the actual folder.
| <fileobject name="instance_3">
| <attr name="deploy-dir" stringvalue="C:\NewReadiness\lib\JBoss\jboss-5.0.0.GA\server\pilot\deploy"/>
| <attr name="displayName" stringvalue="JBoss Application Server"/>
| <attr name="host" stringvalue="localhost"/>
| <attr name="password" stringvalue=""/>
| <attr name="port" stringvalue="8080"/>
| <attr name="registeredWithoutUI" stringvalue="false"/>
| <attr name="root-dir" stringvalue="C:\NewReadiness\lib\jboss\jboss-5.0.0.GA"/>
| <attr name="server" stringvalue="pilot"/>
| <attr name="server-dir" stringvalue="C:\NewReadiness\lib\JBoss\jboss-5.0.0.GA\server\pilot"/>
| <attr name="url" stringvalue="jboss-deployer:localhost:8080#pilot&C:\NewReadiness\lib\JBoss\jboss-5.0.0.GA"/>
| <attr name="username" stringvalue=""/>
| </fileobject>
|
I already had a jb.properties file that looks like this in the ..\6.5\config\J2EE folder. You may need to add one.
| #
| #Wed Dec 17 18:07:16 EST 2008
| installRoot=C\:\\NewReadiness\\lib\\jboss\\jboss-5.0.0.GA
|
Hope that helps. Enjoy!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198370#4198370
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198370
17 years, 4 months
[JBoss Tools (users)] - Re: EAR Auto-Deployment Issue with Ganymede and JBoss Tools
by kenny.stainback
Thanks for the quick response - I'll try to clarify. The project archive for the web project's WEB-INF/lib directory contains a JAR project archive (see my .packages file content below). Initially everything deploys successfully. If I update an html file or Java class in my web project (deploy-test.war), the change is detected and it publishes the change to the server - excellent.
My issue is that when I modify a Java class in my jar project (deploy-test-jar), the change is not published to the server. Likewise, if I have an EAR archive that contains a WAR archive, changes made to the war project will not auto-republish if modified.
If I look at this from a .packages file perspective, it looks like the auto-publishing feature works for file resources defined directly below the root "package" element, but not for those defined within child "package" elements (ie, works for package name="deploy-test.war", but not for child package name="deploy-test.jar").
If I manually perform a "publish to Server", the changes will push across fine. So, I'm specifically talking about the change detection bit not detecting changes to child packages.
| <?xml version="1.0" encoding="UTF-8"?>
|
| <packages version="1.2">
| <package name="deploy-test.war" type="org.jboss.ide.eclipse.as.core.packages.warPackage" todir="/cgwgs-master-alpha/build/expanded-archives/main/gets/jboss-5.0.0.GA/server/standard/deploy" exploded="true" inWorkspace="true">
| <fileset dir="/deploy-test/WebContent" includes="**/*" excludes="**/WEB-INF/lib/*.jar" inWorkspace="true" flatten="false">
| <properties></properties>
| </fileset>
| <folder name="WEB-INF">
| <folder name="lib">
| <package name="deploy-test.jar" type="jar" exploded="true" inWorkspace="true">
| <fileset dir="/deploy-test-jar/bin" includes="**" inWorkspace="true" flatten="false">
| <properties></properties>
| </fileset>
| <properties>
| <property name="org.jboss.ide.eclipse.as.core.model.PackagesListener.DeployAfterBuild" value="true"></property>
| <property name="org.jboss.ide.eclipse.as.core.model.PackagesListener.DeployServers" value="JBoss 5.0 Server,"></property>
| </properties>
| </package>
| <fileset dir="/deploy-test/WebContent/WEB-INF/lib" includes="*.jar" inWorkspace="true" flatten="false">
| <properties></properties>
| </fileset>
| <properties></properties>
| </folder>
| <folder name="classes">
| <fileset dir="/deploy-test/build/classes" includes="**/*" inWorkspace="true" flatten="false">
| <properties></properties>
| </fileset>
| <properties></properties>
| </folder>
| <properties></properties>
| </folder>
| <properties>
| <property name="org.jboss.ide.eclipse.as.core.packages.ModuleIDPropertyKey" value="1230060495108"></property>
| <property name="org.jboss.ide.eclipse.as.core.model.PackagesListener.DeployAfterBuild" value="true"></property>
| <property name="org.jboss.ide.eclipse.as.core.model.PackagesListener.DeployServers" value="JBoss 5.0 Server,"></property>
| </properties>
| </package>
| <properties></properties>
| </packages>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198364#4198364
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198364
17 years, 4 months