How config Aptana Studio 3 for running CakePHP bake shell script?
Several times I came up to this thread while searching Stack Overflow and Google for an answer too. I noticed that Aptana 3 doesn't have a "Tools --> External Tools" item anymore, although Aptana 2 had this great feature by default.
I couldn't find any solutions, so I started to find out myself. For all people having the same problem, here's the solution:
The feature is there, but not available on default.
Open the "Web" perspective
Right click the "Web" perspective (right upper part of the screen)
Click "Customize..."
Go to the tab "Command Groups Availability"
Enable "External Tools" by checking its checkbox
Go to the tab "Menu Visibility"
Expand "Run" and enable "External Tools" by checking its checkbox
Press "OK" and you're ready to go.
To complete the whole case, here is the configuration I use for the CakePHP Bake External Tools. It's a little bit different than suggestions elsewehere, but it makes it independent for each project.
CakePHP 1.x
Open Run -> External Tools -> External Tools Configurations
Create a program
Name: CakePHP Bake
Location:
Mac OSX: ${project_loc}/cake/console/cake
Windows: ${project_loc}/cake/console/cake.bat
Working Directory: ${project_loc}/app
Arguments: bake
Using ${project_loc} in the location (step 4) will locate the Cake console of your current project. While most projects in my case uses the latest version (currently 1.3 branche), older projects may still use the 1.2 or even the 1.1 branche. The bake console may differ from branche to branche.
UPDATE Aug 22nd 2014
As I've posted this solution in 2011 and people are still using this topic, here's how it works for the new CakePHP 2.x range.
Open Run -> External Tools -> External Tools Configurations
Create a program
Name: CakePHP 2.x Bake
Location:
Mac OSX: ${project_loc}/lib/Cake/Console/cake
Windows: ${project_loc}/lib/Cake/Console/cake.bat
Working Directory: ${project_loc}/app
Arguments: bake
LINK
Aptana is built on eclipse. Search for eclipse solution.
Related
Just start to play with http://flora.sf.net reasoning system.
Trying to configure
Window/Preferences/Flora-2 Preferences/Reasoner
pointing to installed D:\FLORA or D:\FLORA\flora2
have message box
Did you install Flora-2 with cygwin?
Eclipse was updated, and plugin was installed from http://flora.sourceforge.net/visualizer
and error
FLORA-2 Visualizer did not find a configured version of FLORA-2 at a default location.
Please specify the location of a configured FLORA-2 system using the following menu:
Window -> Preferences -> Flora Reasoner
PS: In real I don't need full plugin, it can be just set of flora scripts,
which can generate debugging information in visualizable form:
.dot files for GraphViz is the best variant, or some set of .svg.
PSS: maybe InterProlog Studio will be good IDE solution with some tunings.
When I tried to debug a small piece of code using AVR studio 4 I got this error:
Build failed... No build tools defined.
Could someone give me some advices?
In AVRStudio 4.19, Atmel made some serious changes from previous versions. Specially while using the toolchains. After you install WinAVR (the latest version, 2010...), open a new project in Avrstudio and from now on, everytime you make a new project you have to do this steps:
Go to "Project" tab
Go to "Configurations Options"
Then all the way down to "Custom Options".
Once you there, you'll see a checkbox called "Use AVR ToolChain", UNCHECK that option.(For some reason AVRStudio 4.19 does not link automatically the toolchain from WINAVR, so you have to do it manually).
After this, it enables the two options below.
For avr-gcc, you browse to the next direction: C:\ProgramFiles\WINAVR20100110\bin\avr-gcc.exe
For make, you browse to the next direction: C:\ProgramFiles\WINAVR20100110\utils\bin\make.exe
This directions depends on where did you installed WINAVR. I remember that the default location is "C:\" but when I installed WINAVR, I changed it to "ProgramFiles"
Click "OK".
After doing this steps, you should be able to compile and run your code.
Cheers, and hope it helped!
PD: I had that same problem, months ago. Check out, www.avrfreaks.net, very good webpage for newbies and pros at programming AVRs.
You need to install WinAVR or Atmel's "AVR Toolchain." If you already have one of these and still get this message, you may need to tweak the System Variables.
Connect the programmer first and then run avr studio.
I have that error when I try to open a project made in another version of AVR Studio (or upgraded to another version by someone else).
I've installed Eclipse 4.2 Juno. Now I want to install aptana for developing ruby, but I get the following error,
Unable to read repository at http://download.aptana.com/studio3/plugin/install/content.jar.
Unable to read repository at http://download.aptana.com/studio3/plugin/install/content.jar.
Read timed out
I assume that by now you have probably solved the problem, but I had exactly the same problem and found the solution after many searches, so for the sake of any others searching here...
The URL you need to enter in the 'Install New Software' dialog is
http://download.aptana.com/studio3/plugin/install
The following answer was correct. I just tested it with Eclipse Juno.
Steps:
Open Eclipse
Help -> Install New Software
Add (on the top right)
Enter the following link for Aptana Plugin with Eclipse Juno: http://download.aptana.com/studio3/plugin/install
Click OK
Put a check mark for Aptana Studio 3
Next -> Next -> Finish
download.aptana.com/studio3/plugin/install did not work for me. I am using Eclipse 4.3 based STS 3.4
Instead I got the appropriate update site link from this site Aptana Update Site
This is the link for Eclipse plugin update site http://d1iwq2e2xrohf.cloudfront.net/tools/studio/plugin/install/studio3/3.4.2.201308081736/
There is also a link to download the plugin and install through archive. I have used the above update site link and no problem at all.
Hope that will help others.
Adding this answer in case somebody still gets this error while using the correct URL from JonB's answer (http://download.aptana.com/studio3/plugin/install )
Restart Eclipse and try again.
This appears to be a transient issue, as mentioned here:
Aptana studio 3 cannot contact download.ecplise.org
It worked for me after a retry.
I also gone through same problem. But Following solution works for me,
In Eclipse, go to "Eclipse Marketplace" and search for Aptana 3 and hit the Install button.
Help -> Eclipse MarketPlace
Eclipse Market place - Aptana 3 Studio plugin
I wondered myself whether to install the standalone or the plugin. I tried the plugin based on aptanaès instructions and it failed on the first try.
As usual SO respondents reported this problem.
I restarted Eclipse, and then did the install with Aptanaès URL
http://download.aptana.com/studio3/plugin/install
and it worked.
My environment was Eclipse JUNO,
As of 01/29/18 and Eclipse Photon, none of the URLs listed as answers here work in Eclipse's built-in software sources panel. However, after some trial and error mashing up Aptana's old download URLs with the ones Appcelerator (which bought Aptana in 2015) uses for its own software, I got:
http://download.appcelerator.com/aptana/studio3/plugin/update/stable
This works, is totally plug-and-play, and is obviously official - no need to go off to some shady 3rd party hosting site. I just wish someone at Appcelerator had spent 15 minutes to post it somewhere.
I am new to ruby and Aptana (I have used eclipse before) I was wondering if when debugging in Aptana we can drop into irb to play around with things with current values set. For example doing Java dev in eclipse on a breakpoint you can open Window -> Show View -> Display and start executing Java code with all objects having their current state. Is there a similar thing for debugging ruby apps in Aptana 3?
Thanks
This feature wasn't implemented in Studio 3.0, but is scheduled for 3.0.2. Here's the ticket for the work: https://aptana.lighthouseapp.com/projects/35272/tickets/2122-port-display-view-fro-ruby-debugging-from-radrails-2x
You can try it out via our nightly builds. See here for the instructions on getting that: http://wiki.appcelerator.org/display/tis/Changing+the+Update+Type#
If you want to start an IRB session at runtime try Pry. Also Check out the blog post
I have a brand new installation of Eclipse with BlackBerry Plugin for mac.
The Java SDK 6.0.0 is already installed, the only thing now is that I want to compile for minor version, like 4.5.0
I have tried :
Help -> Install New Sotftware... -> http://www.blackberry.com/go/eclipseUpdate/3.5/java
But it gives me an error.
"No repository found at http://www.blackberry.com/go/eclipseUpdate/3.5/java"
anyone had the same issue ?
It seems that it worked for some people.
I don't know if what you're trying is possible, I also couldn't get it to work. According to the RIM site, they don't support building apps on OS X for non-6.0 right now, and based on the workaround below, I think it might not be as simple as installing the packages from the Eclipse installer.
However, I found a great post on building BlackBerry apps on OS X, and since then I've been working on my MBP, and can't say I would turn back. Here's a summary of how I got it set up:
Install Eclipse (I am using 3.5, but it may not matter) and VirtualBox.
Create a new VM and install Windows (tested with XP SP3). This
would probably work using VMWare Fusion or Parallels too.
On the VM, install Java 6 and the version of the BlackBerry JDE
that matches your target OS.
In OS X, download
bb-ant-tools.jar and move it
to ~/.ant/lib.
Get an OS X version of preverify, which is included in the Sun
J2ME SDK 3.0 for OS
X.
Install it and either copy
/Applications/Java_ME_SDK_3.0.app/Contents/Resources/bin/preverify to
somewhere in your PATH or just add that directory to your PATH.
If you don't have one already, create the file ~/.MacOSX/environment.plist.
Edit this file with /Developer/Applications/Utilities/Property\
List\ Editor.app/.
Create a new variable called PATH and set it to the value of your
shell PATH, making sure that the directory containing preverify is
included. This allows Ant, via Eclipse, to see the preverify command
when Eclipse is launched from Eclipse.app and not from the command
line. See this
for more details.
In OS X, create a directory for the BlackBerry components
(something like "bb-components").
From the BlackBerry JDE installation in the VM, copy both "lib" and
"bin" directories to this directory.
In Eclipse, create a new Java project.
Choose "Use an execution environment JRE:" and select Java 1.3.
Right click the project in the "Package Explorer" and select "Build
Path" and then "Configure Build Path."
Add bb-components/lib/net_rim_api.jar as an "External JAR."
Remove the "JRE System Library." This is so that only BlackBerry
supported classes will be offered via autocompletion etc.
Copy the attached minimal
build.xml into the project.
Edit the build.xml to suit your environment (specifically the
jde.home property) and anything else you want to customise.
Right click and select "Run as" and then "Ant Build" (the first
one). You can also build using Ant on the command line, of course.
These were adapted from https://spin.atomicobject.com/2010/11/04/our-blackberry-development-environment
Good luck!
I develop all of my BB apps on Mac hardware but I'm running Windows through Parallels. Not better than having native Mac tools, but it works!