-
1. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
svadu Jan 14, 2009 9:48 AM (in response to taysay)chmod 775 seam
-
2. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
taysay Jan 14, 2009 10:59 AM (in response to taysay)Hi Siarhei Dudzin, and the whole house
Thank you so very much for your sppedy reply.
just that I had usedchmod 755 seam
which gave me
-rwxr-xr-x@then chmod 775 seam
gave me
-rwxrwxr-x@and some other flags which gave me various outputs
but on the overall i couldnt go beyound
taysay-shaguys-macbook:jboss-seam-2.1.1.GA taysayshaguy$ seam
-bash: seam: command not foundpls can you help me out.
Pls i also want to know if you run seam mac os x
Thank you have a wonderful day
-
3. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
malex Jan 14, 2009 11:32 AM (in response to taysay)Give
./seam
a try... -
4. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
taysay Jan 14, 2009 7:10 PM (in response to taysay)@Marcus Spiegel
Howdy, Thanks that ./seam setup moved me closer to the solution, just that it complains of my
The JAVAHOME environment variable is not set
echo Please point it to a JDK installationPlease can u help me out I am new on mac os x , i will pls need a brief on setting environment variables and class path . I will appreciate your invaluable assistance as usual.
Thank you so very much,
Pls do you develop on your mac os x?Have a wonderful day.
-
5. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
malex Jan 14, 2009 11:03 PM (in response to taysay)In my case, I edited ~/.bash_profile (thus, in my home directory. You can create it simply, if it not exists), where you can define the JAVA_HOME like this:
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home"
(or where you have your JDK installed. In my case I also have Soylatte installed
under /usr/local/ and export JAVA_HOME as "/usr/local/soylatte")
Alternatively you can edit ~/.bashrc (.bashrc is read on every opening of a shell and .bash_profile only once at login). If you want to export JAVA_HOME for all users you must edit /etc/profile.
Remark: OSX is a little special in the handling of environment variables (comparing to linux for example). As far as I know, environment variables for GUI applications must be set in ~.MacOSX/environment.plist. -
6. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
taysay Jan 15, 2009 8:02 AM (in response to taysay)@Marcus Spiegel
Howdy, Just to especially appreciate you, It worked for me.
My Current JDK is 1.5.0.16 (sorry i used .16 instead of under score) I will like to upgrade to 1.6 which is available in my /System/Library/Frameworks/JavaVM.framework/Versions directory . I really want to enjoy some new java 6 features which I run on my windows machine remember java 7 is knocking hard on our doors. So whats your advice. thank you so very much have a wonderful day.Taysay
-
7. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
malex Jan 15, 2009 10:32 AM (in response to taysay)I have both running, soylatte and the official 64bit release. Although I am mostly working currently with soylatte, I would think that the Apple JDK would be a good starting point (but both live fine side by side)
-
8. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
taysay Jan 15, 2009 5:15 PM (in response to taysay)Howdy,
Thank you so very much for the support
So which do you think i should take, The issue is that
I really dont know how to check to know if my macbook is a 34 bit or 64 bit
this is my system infoModel Name: MacBook
Model Identifier: MacBook4,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.4 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 3 MB
Memory: 2 GB
Bus Speed: 800 MHz
Boot ROM Version: MB41.00C1.B00
SMC Version: 1.31f0
Serial Number: W88335560P2
Sudden Motion Sensor:
State: Enabledthank you so very sorry for the trouble
-
9. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
david.salter Jan 18, 2009 1:08 PM (in response to taysay)If you've got a Core 2 Duo, you've got a 64-bit machine.
I'd recommend using the JDK that comes bundled with MacOS X if you are learning Seam.
-
10. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
taysay Jan 19, 2009 6:53 AM (in response to taysay)@David Salter,
Howdy Thank you so very much,I have another machine where I run my windows stuff on its a centrino duo and all dat but a 32 bit, Pls How is this grading done?
-
11. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
jonathanbailey Jan 20, 2009 2:27 PM (in response to taysay)Here is a very simple, six step process for setting up Seam on any *NIX machine. This will also enable seam-gen command completion in your bash shell:
$tar zxfv jboss-seam-2.1.1.CR1.tar.gz
$mv jboss-seam-2.1.1.CR1 /usr/local/
$ln -s /usr/local/jboss-seam-2.1.1.CR1 /usr/local/seam
$export PATH=$PATH:/usr/local/seam
$chmod a+x /usr/local/seam/seam
Note: If you want autocompletion for your seam command line tools run the following:
$ cat /usr/local/seam/seam-gen/contrib/seam-completion >> ~/.bash_profile && source ~/.bash_profile
Now if you type "seam [hit tab twice]" you will see that auto-completion is enable for the secondary part of your seam-gen command. -
12. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
taysay Jan 20, 2009 5:40 PM (in response to taysay)@Jonathan Bailey
this is really cool tanx plenty
-
13. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
taysay Mar 26, 2009 4:03 PM (in response to taysay)@Jonathan Bailey and All in the House,
Good day all pls when trying to start my jboss from the command line
it starts then aborts with this error pls can anyone offer me helpsee error details below
bin/run.sh: line 256: /System/Library/Frameworks/JavaVM.framework/Home#/bin/java: No such file or directory
I know this is as a result of my classpath but then I am kind of new to mac os x so I just trying to be really careful trying out stuff in the shell.
Thanx so very much for your invaluable assistance.
-
14. Re: HOW TO RUN SEAM GEN FROM MAC OS X COMMAND LINE
taysay Mar 28, 2009 2:45 PM (in response to taysay)Hi All,
Pls does anyone have a clue towards the solution to this problem.Could not create the view: org/eclipse/wst/server/ui/internal/view/servers/ServerAction
encountered while launching Eclipse on mac os x leopard.