Because build scripts are all different, it’s hard to have a useable one to download.
If you look closely at the tutorial, I think you can figure out where things go. There’s a screenshot of the directory structure. The directories with no files listed are actually empty. There are only three directories with files in them:
_build/ -- Files used in the build that won’t be transfered (e.g. transport.core.php)
assets/components/componentname. -- for files that need to be accessible by a user’s browser (e.g. JS, CSS, images); the files will be normally transported to that directory on the new site
core/components/componentname -- for files that *don’t* need to be web-accessible (e.g. .php source files); the files that will be transported to that directory on the new site
Most of the code in the tutorial all goes in the build.transport.php file in the _build directory.
Any CSS, JS, Image, etc. files can go anywhere as long as you specify where they are as the source location for them and where you want them to end up as the target location for them in the build script.
The lexicon file typically needs to be at:
core/components/componentName/lexicon/en/default.inc.php
It’s not as complicated as it looks.
Hi,
I am new to modx and php. I have got experience with java development. I am now looking into setting up my development environment using eclipse. The tutorial describes how to install eclipse and ends with "You can now start importing you web projects".
Can anyone help me to set up eclipse so I can start developing, testing and building my own packages>
Quote from: joostvdheuvel at Oct 04, 2010, 05:35 PM
Hi,
I am new to modx and php. I have got experience with java development. I am now looking into setting up my development environment using eclipse. The tutorial describes how to install eclipse and ends with "You can now start importing you web projects".
Can anyone help me to set up eclipse so I can start developing, testing and building my own packages>
This isn’t really an answer to your question. I’ve never used Eclipse (except for a quick test drive), but I notice that many people here have switched to NetBeans, which is quite easy to set up.