[jbosstools-dev] Fix to the build problem

Rob Stryker rob.stryker at redhat.com
Wed Apr 30 22:22:41 EDT 2008


I've retested six times now.  I have no idea what the problem in the 
build is. Nada. I've come to that conclusion.

At least with the official JBDS build.

See, it seems to work with JUST the ONE patch now. For me.

I need someone else to confirm this.

My methodology is as follows:
[rob at localhost wtp2.0.2]$ \
 > tar xvzf eclipse-SDK-3.3.2-linux-gtk-x86_64.tar.gz;\
 > unzip dtp-sdk_1.5.2_022008.zip;\
 > unzip emf-sdo-xsd-SDK-2.3.2.zip;\
 > unzip GEF-SDK-3.3.2.zip;\
 > unzip wtp-sdk-R-2.0.2-20080223205547.zip

Then press "A" several times for over. This installs the base wtp2.0.2 
install.

I create a workspace and use a GENERIC SERVER adapter with Max's test 
project which can be found at
https://bugs.eclipse.org/bugs/attachment.cgi?id=98244

Then, in the REGULAR server's view, I make sure to add the project to 
the server, and I click the publish icon.
In the server's deploy folder, I execute the following:

[rob at localhost 422GA_deploy]$ unzip -l myseampro99-ear.ear
Archive:  myseampro99-ear.ear
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  04-30-08 22:15   META-INF/
      106  04-30-08 22:15   META-INF/MANIFEST.MF
      455  04-30-08 21:10   META-INF/application.xml
   835020  04-30-08 18:18   jboss-seam-nodesc.jar
 --------                   -------
   835581                   4 files

Only 4 files published. No good. Close eclipse.  
rm -rf myseampro99-ear.ear from the server's deploy folder.

Then, in the eclipse folder I execute:
 unzip wtp-P-*P20080325024219-20080325024219*.zip

This is the most recent patch. David Williams *assures* us they are 
cumulative.
I then re-run eclipse.

Since the workspace is already set up, we don't need to recreate the 
server or anything.
We just go to the server's view, and click "publish". That's it.

In the deploy folder, let's see what's in the ear file:
[rob at localhost 422GA_deploy]$ unzip -l myseampro99-ear.ear
Archive:  myseampro99-ear.ear
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  04-30-08 22:19   META-INF/
      106  04-30-08 22:19   META-INF/MANIFEST.MF
      455  04-30-08 21:10   META-INF/application.xml
   835020  04-30-08 18:18   jboss-seam-nodesc.jar
   871392  04-30-08 22:19   jboss-seam.jar
 --------                   -------
  1706973                   5 files


In short, in my last 7 tests, it works FINE with JUST the one patch!
In other words, I have no idea why the BUILD didn't work.

I strongly suspect we *only* need to use the one patch, and it was just 
a bad build?
David Williams assures us of that.

That's all I've got. We'll have to test the next build. But the next 
build, unless I can get ahold of Marshall, will have both patches, and 
may be broken for that reason.

Someone please try to replicate this with me.

- Rob Stryker

Rob Stryker wrote:
> Max:
>
> The fix was simply that we required both patches in order to make it 
> work.
>
> Marshall is on it. I'm going to comment on the eclipse bug.
>
> - Rob
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev




More information about the jbosstools-dev mailing list