The fog is starting to clear.
I have JBOSS_HOME pointing to jboss-3.2.6RC2-nukes-2.0-DR. I think I originally
had a typo in the path which caused most of my pain.
I was assuming that there was supposed to be an easier way to get it built but
I had all kinds of problems. Some stuff would compile in Eclipse but not in
Ant, other stuff in Ant and not Eclipse.
Part of my issues were not knowing the JBoss projects in CVS (like what is the
difference between common, jboss-common, and common-jboss) or being real
familiar with Ant. Once I started pulling on threads they just got longer. Not
knowing where the problem might be I just kept grabbing stuff and building it.
The main issues I had were:
1) It is confusing because ant.bat builds up a big classpath (which I assumed
was going to be used to find the jars), but each compile target builds its own
classpath. I spent hours tweaking the classpath that Ant was being passed, not
knowing that it was making no difference to the build.
1)
I had real problems with the directory structures that I got from CVS.
The paths expected by the build files did not match what I ended up with. Once
I worked out how to convert a path to a property in Ant and echo it so I could
see where Ant was looking for each JAR it helped a lot. It would be really
useful to put that in each of the 'configure-libraries' targets.
<property name="cp" refid="library.classpath"/>
| <echo message="Classpath is ${cp}"/>
2)
I never did find an official version.mf for build/etc. Is there one?
3) When I got to the deploy target it copies the sar to server/standard/deploy,
whilst the three different versions of jboss I tried were all running the
'default' server. ;-)
The directions on the Wiki pointed me in the right direction but it took me 2
days to build a .sar that still doesn't deploy :-(
I think some classpath related feedback during the build would help a lot of
people figure out their issues.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857392#3857392
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857392
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development