• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Ann] WebObjects & JavaRebel Screencast
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ann] WebObjects & JavaRebel Screencast


  • Subject: Re: [Ann] WebObjects & JavaRebel Screencast
  • From: David Avendasora <email@hidden>
  • Date: Mon, 20 Apr 2009 20:06:51 -0400


On Apr 20, 2009, at 7:03 PM, Q wrote:


On 21/04/2009, at 4:53 AM, David Avendasora wrote:

Hi all,

I've completed a quick "Getting Started with WebObjects and JavaRebel" screencast.

It is currently available on the WOCommunity.org website at: http://www.wocommunity.org/podcasts/WOJavaRebel_Setup.mov

It should also show up in iTunes podcasts eventually.

Nice work on the video, volume seemed a little bit quiet but looks good.

Yeah, need to work on microphone placement...

Couple of points.

1. You don't need to add javarebel.jar to the build path (or the project).

In eclipse I define a variable called ${javarebel_loc} that points to the jar file

Where do you define this variable? I pretty much learn portions of eclipse as I need them and I've never setup new variables before.


, in my case ~/Library/Java/JavaRebel/javarebel.jar, and a second called ${javarebel_args} that contains "-noverify -javaagent:$ {javarebel_loc}", (although you could do it as just one variable) then when I want to enable JR I add the WOJavaRebel framework and add "${javarebel_args}" to the vm args and I am done. This solves the problem of where to put the license file, and there is no need to copy the jar into the project.

This does sound like a nice solution, but it would have added several minutes to the video to setup the variables and then demonstrate how to use them when you want. I was going for the absolute minimum number of steps.


This is one of the things I love/hate about Eclipse. There's always 4 or 5 ways of accomplishing the same thing. Some are more efficient than others, but are really obscure and confusing if you don't already have a firm grasp on things. Others seem obvious, but have all kinds of hidden gotchas.


Also worth noting is that the WOJavaRebel framework includes a recent javarebel.jar file, so you can copy it from the framework bundle rather than downloading it again if you prefer.

Yeah, I just don't know how often that will get updated and the video could be around for a while. Also I got an error message at launch saying that I needed to either rename it or add more attributes to the startup to handle it with a name other than javarebel.jar which would have been yet another step (or two). I decided to go with recommending that the user downloads it since that will guarantee that they get the most recent version.



2. The framework order of WOJavaRebel doesn't matter, it can be last and it should not make any difference, if you find that it does make a difference then let me know.

I was going off the readme file in the WOJavaRebel Documentation directory that says: "Ensure that it appears early in the classpath order, before system frameworks like JavaWebObjects."


I wasn't sure why that was, but I figured better safe than sorry.

Dave


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: [Ann] WebObjects & JavaRebel Screencast
      • From: Chuck Hill <email@hidden>
References: 
 >[Ann] WebObjects & JavaRebel Screencast (From: David Avendasora <email@hidden>)
 >Re: [Ann] WebObjects & JavaRebel Screencast (From: Q <email@hidden>)

  • Prev by Date: Re: WO development on Windows with Eclipse/WOLips
  • Next by Date: Re: [Ann] WebObjects & JavaRebel Screencast
  • Previous by thread: Re: [Ann] WebObjects & JavaRebel Screencast
  • Next by thread: Re: [Ann] WebObjects & JavaRebel Screencast
  • Index(es):
    • Date
    • Thread