• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

GWT and the Mac

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So while on vacation and waiting for the new house to be ready, I've been doing a bit of searching online and came across both echo2 and echo3 and gwt. I know they've been out a while but I haven't really looking into nifty stuff.

Anyway, using gwt is kind of a pain as for as the applicationCreator and projectCreator go. What I'd very much like to do is either make a script to execute them or make them into bash commands.

Currently I have to go to the GWT home directory and do something like
./applicationCreator -eclipse <namestuff> -out <the directory I'd like them to go to>
but what I really want to do is
applicationCreator -eclipse <namestuff> and be in the directory I want them to be in already by navigating there in terminal.

Any suggestions?
 
Sheriff
Posts: 67537
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Add it to the PATH? Create an alias? Move it to one of the system bin folders? Choose one.

(That said, some programs are written badly and can only work when the cd is set just so. Hope this isn't one of them.)
 
Nathan Leniz
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Haven't tried adding it to the path but...

trying to set an alias doesn't work at all because in order to invoke projectCreator or applicationCreator requires me to do
./applicationCreator
./projectCreator

And when I copy them to /usr/bin after logging in as the super user in terminal and trying to use them as native bash commands it throws a java error.

Ok, some searching on google shows setting the path using the setenv bash command, but on my mac it doesn't recognize the command.
 
Bear Bibeault
Sheriff
Posts: 67537
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To set environment variables in bash:


[ July 13, 2008: Message edited by: Bear Bibeault ]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic