You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Justin Mclean <ju...@classsoftware.com> on 2012/08/07 07:13:51 UTC

Instructions for building mustella

Hi,

Are there any step by step instructions for building Mustella? There's no README in the mustella directory or instructions on the wiki that I can see.

Currently I get the following error when running ant in the mustella directory.

getConfigId:
BUILD FAILED
/Users/justinmclean/Documents/Adobe Flash Builder 4.6/Apache Flex SDK/mustella/build.xml:645: taskdef class mustella.GetConfigIdTask cannot be found.

This is on OSX if it matters.

Thanks,
Justin

Re: Instructions for building mustella

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> Sort of off topic and I'm sure you don't agree but I don't think Flex
> developers should have their Flex SDK within the FlashBuilder install.  I
> think you should build a Flex SDK elsewhere and just add it as an SDK to
> FlashBuilder.
I don't disagree it's a valid point - but still no reason for it not to support spaces in path names. :-)

Justin

Re: Instructions for building mustella

Posted by Carol Frampton <cf...@adobe.com>.

On 8/7/12 11 :41AM, "Justin Mclean" <ju...@classsoftware.com> wrote:

>Hi,
>
>> Sort of off topic and I'm sure you don't agree but I don't think Flex
>> developers should have their Flex SDK within the FlashBuilder install.
>
>It's the default workspace (eg /Users/user name/Documents/Adobe Flash
>Builder 4.6)  that has spaces in it which is the issues. The default
>install directory (/Applications/Adobe Flash Builder 4.6) which also has
>spaces may or may not be an issue.
>
>Also it's possible for the user name to have spaces in it.

I'm not disagreeing with you about spaces.  Yes, paths with spaces should
always work.  I tested out the ide scripts I wrote with a destination path
that had spaces in it.
 
Carol


Re: Instructions for building mustella

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> Sort of off topic and I'm sure you don't agree but I don't think Flex
> developers should have their Flex SDK within the FlashBuilder install.

It's the default workspace (eg /Users/user name/Documents/Adobe Flash Builder 4.6)  that has spaces in it which is the issues. The default install directory (/Applications/Adobe Flash Builder 4.6) which also has spaces may or may not be an issue.

Also it's possible for the user name to have spaces in it.

Justin

Re: Instructions for building mustella

Posted by Carol Frampton <cf...@adobe.com>.

On 8/7/12 3 :00AM, "Justin Mclean" <ju...@classsoftware.com> wrote:

>Hi,
>
>> You're welcome to take a shot at fixing it.
>
>I have a bit too much on my plate on the moment. If anyone else wants to
>have a go at fixing feel free.
>
>Not having most people able to run the tests (as the default path for any
>project in Flash Builder contains spaces) is going to be problematic and
>certainly something worth fixing.

Justin,

Sort of off topic and I'm sure you don't agree but I don't think Flex
developers should have their Flex SDK within the FlashBuilder install.  I
think you should build a Flex SDK elsewhere and just add it as an SDK to
FlashBuilder.

Carol


Re: Instructions for building mustella

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> You're welcome to take a shot at fixing it. 

I have a bit too much on my plate on the moment. If anyone else wants to have a go at fixing feel free. 

Not having most people able to run the tests (as the default path for any project in Flash Builder contains spaces) is going to be problematic and certainly something worth fixing.

Thanks,
Justin

Re: Instructions for building mustella

Posted by Alex Harui <ah...@adobe.com>.


On 8/6/12 10:39 PM, "Justin Mclean" <ju...@classsoftware.com> wrote:

> Hi,
> 
> Of top of my head was to use (inside an ant exec):
> <arg value="xxx">
> rather than
> <arg line="xxx">
> 
> If that is the issue that is?
> 
> Thanks,
> Justin
You're welcome to take a shot at fixing it.  It is working on Mac OSX for
Peter and I, but we don't have spaces in the paths.

There are a bunch of tests that still report failures as we agreed would be
acceptable in order to speed up the donation so feel free to take a crack at
fixing failing tests if you get that far.  It will be a good learning
experience for all of us.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: Instructions for building mustella

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

Of top of my head was to use (inside an ant exec):
<arg value="xxx">
rather than
<arg line="xxx">

If that is the issue that is?

Thanks,
Justin

Re: Instructions for building mustella

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> Good question, worthy of being added to the wiki page.  Mustella currently
> auto-builds itself when you run mini_run.sh.
Good to know.

On running  mini_run.sh I get a large number of these errors (one per test I assume):
[java] command line: Error: default arguments may not be interspersed with other options

At a guess this may be a issue with spaces in the path (which Flash Builder by default has). I seem to recall there was an easy fix for this?

Thanks,
Justin

Re: Instructions for building mustella

Posted by Alex Harui <ah...@adobe.com>.


On 8/6/12 10:13 PM, "Justin Mclean" <ju...@classsoftware.com> wrote:

> Hi,
> 
> Are there any step by step instructions for building Mustella? There's no
> README in the mustella directory or instructions on the wiki that I can see.
> 
> Currently I get the following error when running ant in the mustella
> directory.
> 
> getConfigId:
> BUILD FAILED
> /Users/justinmclean/Documents/Adobe Flash Builder 4.6/Apache Flex
> SDK/mustella/build.xml:645: taskdef class mustella.GetConfigIdTask cannot be
> found.
> 
> This is on OSX if it matters.
> 
> Thanks,
> Justin
Good question, worthy of being added to the wiki page.  Mustella currently
auto-builds itself when you run mini_run.sh.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: Instructions for building mustella

Posted by Peter Ent <pe...@adobe.com>.
Hi,

I have completely missed this entire thread about mustella. I will gather
the info here and post something on the wiki. I think a README in the
mustella directory is a good idea.

My experience with running mustella in a clean install has been:

a. svn co the Apache Flex trunk
b. following the README for Apache Flex and building it.
c. Modifying the local.properties file in the mustella directory to point
to the Flex SDK.
d. running a couple of tests.

I will make sure this is clear and I'm in the process of cleaning up the
ANT build for mustella to make better use of the known environment.

My apologies for missing this.
--peter

On 8/7/12 1:13 AM, "Justin Mclean" <ju...@classsoftware.com> wrote:

>Hi,
>
>Are there any step by step instructions for building Mustella? There's no
>README in the mustella directory or instructions on the wiki that I can
>see.
>
>Currently I get the following error when running ant in the mustella
>directory.
>
>getConfigId:
>BUILD FAILED
>/Users/justinmclean/Documents/Adobe Flash Builder 4.6/Apache Flex
>SDK/mustella/build.xml:645: taskdef class mustella.GetConfigIdTask cannot
>be found.
>
>This is on OSX if it matters.
>
>Thanks,
>Justin