I compiled blazeds separately (cd ../flex-blazeds & ant clean & ant
main), and now it seems to be working. I'll let you know once it's
done if I can compile an app.

On 17 December 2014 at 16:52, Mihai Chira <mihai.ch...@gmail.com> wrote:
> I did a super-clean, and now the error changed: it failed when trying
> to compile blazeds:
>
> compile:
>     [javac] 
> c:\Users\evolverine\workspace\flex-blazeds\modules\common\build.xml:54:
> warning: 'includeantruntime' was not set, defa
> ulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 47 source files to
> c:\Users\evolverine\workspace\flex-blazeds\modules\common\classes
>     [javac] warning: [options] bootstrap class path not set in
> conjunction with -source 1.4
>     [javac] warning: [options] source value 1.4 is obsolete and will
> be removed in a future release
>     [javac] warning: [options] target value 1.4 is obsolete and will
> be removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use -Xlint:-options.
>     [javac] 
> c:\Users\evolverine\workspace\flex-blazeds\modules\common\src\flex\messaging\config\ApacheXPathClientConfigurationPars
> er.java:19: error: package org.apache.xpath does not exist
>     [javac] import org.apache.xpath.CachedXPathAPI;
>     [javac]                        ^
>     [javac] 
> c:\Users\evolverine\workspace\flex-blazeds\modules\common\src\flex\messaging\config\ApacheXPathClientConfigurationPars
> er.java:37: error: cannot find symbol
>     [javac]     private CachedXPathAPI xpath;
>     [javac]             ^
>     [javac]   symbol:   class CachedXPathAPI
>     [javac]   location: class ApacheXPathClientConfigurationParser
>     [javac] 
> c:\Users\evolverine\workspace\flex-blazeds\modules\common\src\flex\messaging\config\ApacheXPathClientConfigurationPars
> er.java:41: error: cannot find symbol
>     [javac]         this.xpath = new CachedXPathAPI();
>     [javac]                          ^
>     [javac]   symbol:   class CachedXPathAPI
>     [javac]   location: class ApacheXPathClientConfigurationParser
>     [javac] 3 errors
>     [javac] 4 warnings
>
> BUILD FAILED
> c:\Users\evolverine\workspace\sdk\build.xml:411: The following error
> occurred while executing this line:
> c:\Users\evolverine\workspace\sdk\modules\build.xml:157: The following
> error occurred while executing this line:
> c:\Users\evolverine\workspace\sdk\modules\flex-messaging-common\build.xml:86:
> The following error occurred while executing this li
> ne:
> c:\Users\evolverine\workspace\flex-blazeds\build.xml:161: The
> following error occurred while executing this line:
> c:\Users\evolverine\workspace\flex-blazeds\modules\common\build.xml:54:
> Compile failed; see the compiler error output for details.
>
> On 17 December 2014 at 16:28, Erik de Bruin <e...@ixsoftware.nl> wrote:
>> Do a 'super-clean' instead of a clean, and make sure your workspace is
>> up to date. The fix for the 'flex-tool-api' download is in there
>> (https instead of http)...
>>
>> EdB
>>
>>
>>
>> On Wed, Dec 17, 2014 at 5:22 PM, Mihai Chira <mihai.ch...@gmail.com> wrote:
>>> Running
>>>
>>> ant clean
>>> ant main
>>>
>>> should work just fine, right? I'm on the release4.14.0 branch, but
>>> when I run ant main I keep getting
>>>
>>> BUILD FAILED
>>> c:\Users\evolverine\workspace\sdk\build.xml:411: The following error
>>> occurred while executing this line:
>>> c:\Users\evolverine\workspace\sdk\modules\build.xml:140: The following
>>> error occurred while executing this line:
>>> c:\Users\evolverine\workspace\sdk\modules\compiler\build.xml:171:
>>> Warning: Could not find file c:\Users\evolverine\workspace\sdk\i
>>> n\flex-tool-api.jar to copy.
>>>
>>> For some reason it doesn't download flex-tool-api.jar before trying to
>>> copy it. I'll try on develop.
>>>
>>> On 17 December 2014 at 14:26, Mihai Chira <mihai.ch...@gmail.com> wrote:
>>>> This looks great. I'll try it hopefully today. It also probably means
>>>> we can delete those sh and bat files, which should simplify work with
>>>> the SDK.
>>>>
>>>> On 17 December 2014 at 13:41,  <erikdebr...@apache.org> wrote:
>>>>> Changed 'prepare SDK' section again
>>>>>
>>>>> After Mihai's effort, I looked into this some more. Turns out the 
>>>>> easiest, cross platform and most up-to-date way to do this is using the 
>>>>> same script as the Installer. Since I can't find a way to change the 
>>>>> FP/AIR versions of an existing SDK that works on Windows, I made that a 
>>>>> 'Mac/Linux' only section.
>>>>>
>>>>> Signed-off-by: Erik de Bruin <e...@ixsoftware.nl>
>>>>>
>>>>>
>>>>> Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
>>>>> Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/feb40f62
>>>>> Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/feb40f62
>>>>> Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/feb40f62
>>>>>
>>>>> Branch: refs/heads/release4.14.0
>>>>> Commit: feb40f628bf126db22fc9c90fcb35a0f72511866
>>>>> Parents: 8ce76a2
>>>>> Author: Erik de Bruin <e...@ixsoftware.nl>
>>>>> Authored: Wed Dec 17 14:40:53 2014 +0100
>>>>> Committer: Erik de Bruin <e...@ixsoftware.nl>
>>>>> Committed: Wed Dec 17 14:40:53 2014 +0100
>>>>>
>>>>> ----------------------------------------------------------------------
>>>>>  README | 31 +++++++------------------------
>>>>>  1 file changed, 7 insertions(+), 24 deletions(-)
>>>>> ----------------------------------------------------------------------
>>>>>
>>>>>
>>>>> http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/feb40f62/README
>>>>> ----------------------------------------------------------------------
>>>>> diff --git a/README b/README
>>>>> index 8ecd4fd..0e4eaf4 100644
>>>>> --- a/README
>>>>> +++ b/README
>>>>> @@ -310,41 +310,24 @@ To get a brief listing of all the targets type, use:
>>>>>  Prepare the SDK for use with an IDE
>>>>>  -----------------------------------
>>>>>
>>>>> -If you want to use the SDK you built from source in Adobe Flash Builder, 
>>>>> you
>>>>> -need to run these commands and scripts:
>>>>> +To create an SDK for Flash Builder or any other IDE, run:
>>>>>
>>>>>      cd <flex.dir>
>>>>>      ant frameworks-rsls
>>>>> -    ./ide/constructFlexForIDE.[sh/bat] "[path-to-sdk]" 
>>>>> "[path-to-UNZIPPED-flex_sdk_4.6.0.23201B.zip]"
>>>>> -    (Mac only: ./ide/addAIRtoSDK.sh)
>>>>> +    ant -f installer.xml -Dflash.sdk.version=15.0 -Dair.sdk.version=15.0
>>>>>
>>>>> -This builds the RSLS for the SDK and copy some IDE related files from 
>>>>> the Adobe
>>>>> -Flex SDK 4.6.
>>>>> +On Mac/Linux the AIR and Flash Player version can be changed by running:
>>>>>
>>>>> -To create an SDK for another IDE, or if you want to use a different 
>>>>> version of
>>>>> -Adobe AIR (Adobe Flex 4.6 uses Adobe AIR 3.1), run:
>>>>> +    ./ide/setFlashPlayerVersion.sh ./ 15.0
>>>>> +    ./ide/addAIRtoSDK.sh 15.0 ./
>>>>>
>>>>> -    cd ide/flashbuilder & call ide/flashbuilder/makeApacheFlexForIDE.bat 
>>>>> "[path-to-sdk]" (on Windows)
>>>>> -    ./ide/flashbuilder/makeApacheFlexForIDE.sh (on Mac and Linux)
>>>>> -
>>>>> -On Mac the AIR and Flash Player version can be changed by running:
>>>>> -       ./ide/setFlashPlayerVersion.sh
>>>>> -       ./ide/addAIRtoSDK.sh
>>>>>
>>>>>
>>>>>  Using the Binary Distribution
>>>>>  =============================
>>>>>
>>>>> -In order to use the binary distribution of the SDK, you must first 
>>>>> download the
>>>>> -third-party dependencies. First, make sure your system is good to go: see
>>>>> -'Prepare your system' above. Note: you cannot use the env.properties 
>>>>> file to
>>>>> -set the environment variables when you use the Binany Distribution. Now, 
>>>>> use:
>>>>> -
>>>>> -    cd <flex-sdk>/frameworks
>>>>> -    ant thirdparty-downloads
>>>>> -
>>>>> -To complete the setup of the SDK, follow the instructions in the
>>>>> -'Prepare the SDK for use with an IDE' section above.
>>>>> +In order to use the binary distribution of the SDK, follow the 
>>>>> instructions in
>>>>> +the 'Prepare the SDK for use with an IDE' section above.
>>>>>
>>>>>
>>>>>
>>>>>
>>
>>
>>
>> --
>> Ix Multimedia Software
>>
>> Jan Luykenstraat 27
>> 3521 VB Utrecht
>>
>> T. 06-51952295
>> I. www.ixsoftware.nl

Reply via email to