flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Solodovnik <solomax...@gmail.com>
Subject Re: [DISCUSS] Release Apache FlexJS 0.5.0
Date Tue, 20 Oct 2015 09:58:59 GMT
Unfortunately I have no MacOSX to test it :(
you can
1) google the answer
2) download ant binary distribution, unzip it somethere, set ANT_HOME and
links to /usr/local/bin/ant

On Tue, Oct 20, 2015 at 3:53 PM, Harbs <harbs.lists@gmail.com> wrote:

> Here’s the thing:
>
> Harbss-MacBook-Pro:~ harbs$ which ant
> /usr/local/bin/ant
> Harbss-MacBook-Pro:~ harbs$ whereis ant
> Harbss-MacBook-Pro:~ harbs$
>
> I got that location from which.
> whereis does not find ant at all.
> IIRC, I installed ant using homebrew.
>
> On Oct 20, 2015, at 12:41 PM, Maxim Solodovnik <solomax666@gmail.com>
> wrote:
>
> > the problem is here: export ANT_HOME=/usr/local/bin
> > ANT_HOME should point to the location you have unzipped ANT binary
> > distribution
> > not sure where should it point in case of "apt-get" installed ant :)
> >
> > On Tue, Oct 20, 2015 at 3:13 PM, Harbs <harbs.lists@gmail.com> wrote:
> >
> >> I’m getting the following erros when I try the script:
> >> (build.sh is a shell script I wrote which sets the env vars and runs ant
> >> -e -f ApproveFlexJS.xml -Drelease.version=0.5.0
> >>
> >> As you can see, I then set ANT_HOME and ran the command manually, and it
> >> still failed.
> >>
> >> Harbss-MacBook-Pro:~ harbs$ cd
> >> /Users/harbs/Documents/ApacheFlex/FlexJS0.5.0
> >> Harbss-MacBook-Pro:FlexJS0.5.0 harbs$
> >> /Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/build.sh
> >> Buildfile:
> /Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/ApproveFlexJS.xml
> >>
> >> BUILD FAILED
> >> /Users/harbs/Documents/ApacheFlex/FlexJS0.5.0/ApproveFlexJS.xml:86: The
> >> ANT_HOME environment variable is not set.
> >>
> >> Total time: 0 seconds
> >> Harbss-MacBook-Pro:FlexJS0.5.0 harbs$ export ANT_HOME=/usr/local/bin
> >> Harbss-MacBook-Pro:FlexJS0.5.0 harbs$ ant -e -f ApproveFlexJS.xml
> >> -Drelease.version=0.5.0
> >> Error: Could not find or load main class
> >> org.apache.tools.ant.launch.Launcher
> >> Harbss-MacBook-Pro:FlexJS0.5.0 harbs$
> >> On Oct 16, 2015, at 6:44 AM, Alex Harui <aharui@adobe.com> wrote:
> >>
> >> This is the ant version I have:
> >> Apache Ant(TM) version 1.9.4 compiled on April 29 2014
> >>
> >> Any ideas on what’s wrong?
> >>
> >>> OK, seems to be working now.  I added building the examples to the
> >> script.
> >>> It took 12 minutes just to download and build everything on my system.
> >>>
> >>> Let me know if it works for you.
> >>>
> >>> -Alex
> >>>
> >>> 0) Make sure Ant and Java are in the path, and set up AIR_HOME,
> >>> PLAYERGLOBAL_HOME and FLASHPLAYER_DEBUGGER environment variables if you
> >>> haven’t already.  Then:
> >>> 1) create an empty folder.
> >>> 2) Copy ApproveFlexJS.xml from the flex-asjs repo or download it here
> >>> [1] and copy it into the empty folder
> >>> 3) From the empty folder, run ‘ant -e -f ApproveFlexJS.xml
> >>> -Drelease.version=0.5.0’
> >>>
> >>> If you want to grab the bits manually, they are here [2].
> >>>
> >>>
> >>> [1]
> >>>
> >>
> https://git-wip-us.apache.org/repos/asf/flex-sdk/repo?p=flex-asjs.git;a=blo
> >>> b_plain;f=ApproveFlexJS.xml;hb=refs/heads/develop
> >>> [2]
> >>>
> >>
> http://apacheflexbuild.cloudapp.net:8080/job/flex-asjs/lastSuccessfulBuild/
> >>> artifact/out/
> >>>
> >>>
> >>
> >>
> >
> >
> > --
> > WBR
> > Maxim aka solomax
>
>


-- 
WBR
Maxim aka solomax

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message