-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found. #63
Comments
Aha, hidden dependency. You need to define a FLEX_HOME environment variable that points to the Flex
(This is from memory, the path may not be 100% correct) On Tue, Jun 5, 2012 at 9:18 PM, simkimsia <
|
I have exactly the same issue. After setting the environment variable as suggested, the problem persists. Mac OS X 10.7.5 I set the FLEX_HOME variable to the path where the SDK is located on the hard disk. Bautasteins-MacBook-Pro:mockolate pbholmen$ echo $FLEX_HOME clean: initialize-directories: initialize-properties: initialize-build-configuration: BUILD FAILED Total time: 1 second |
PS: I don't know much about shells. I cloned the project just a few minutes ago, and I didn't have a ~/.bash_profile, so I edited ~/.profile instead, and used "export" instead of "set", because that's what was used in that file for other variables. But the result of echo $FLEX_HOME should indicate that the variable is correctly set? |
Does it matter that I have Java 1.6? Here is the verbose output (I have double checke that $FLEX_HOME is set in the shell): Bautasteins-MacBook-Pro:mockolate pbholmen$ sudo ant -v clean package clean: initialize-directories: initialize-properties: initialize-build-configuration: BUILD FAILED Total time: 1 second |
I ran ant clean package after i did a git clone.
I get the following errors
Buildfile: /Users/simkimsia/Desktop/Adobe-AIR-App-Skinning/vendors/mockolate/build.xml
[taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.
clean:
[delete] Deleting directory /Users/simkimsia/Desktop/Adobe-AIR-App-Skinning/vendors/mockolate/target
initialize-directories:
[mkdir] Created dir: /Users/simkimsia/Desktop/Adobe-AIR-App-Skinning/vendors/mockolate/target
[mkdir] Created dir: /Users/simkimsia/Desktop/Adobe-AIR-App-Skinning/vendors/mockolate/target/bin
[mkdir] Created dir: /Users/simkimsia/Desktop/Adobe-AIR-App-Skinning/vendors/mockolate/target/docs
[mkdir] Created dir: /Users/simkimsia/Desktop/Adobe-AIR-App-Skinning/vendors/mockolate/target/report
[mkdir] Created dir: /Users/simkimsia/Desktop/Adobe-AIR-App-Skinning/vendors/mockolate/target/report/flexunit
initialize-properties:
initialize-build-configuration:
BUILD FAILED
/Users/simkimsia/Desktop/Adobe-AIR-App-Skinning/vendors/mockolate/build.xml:79: Java returned: 1
Please help.
Thank you.
The text was updated successfully, but these errors were encountered: