Skip to main content
Participating Frequently
August 19, 2008
Question

keepCompilerGeneratedActionScript

  • August 19, 2008
  • 7 replies
  • 778 views
Hi,

I'm using flex-compiler-oem.

I define keepCompilerGeneratedActionScript(true) configuration when I wanna keep generated files, but, by default the are put on my sourcePath.

Is there any way to define where generated files should be placed?

VELO
This topic has been closed for replies.

7 replies

Participating Frequently
August 21, 2008
The logic is complicated — perhaps in this case it decides to output it at the SWF location, or perhaps FB is moving it from elsewhere. If you’d like to debug it, I’d grep for usages of keepCompilerGeneratedActionScript and look at the logic — maybe you can find a way to coerce it elsewhere.



Best,

Jono




From: Marvin Froeder < member@adobeforums.com>

Reply-To: < flexsdk-dev@adobeforums.com>

Date: Wed, 20 Aug 2008 12:07:38 -0700

To: < flexsdk-dev@adobeforums.com>

Subject: Re: keepCompilerGeneratedActionScript



A new message was posted by Marvin Froeder in



Developers --

  keepCompilerGeneratedActionScript



But somehow flexbuilder does that....  



Generated sources at flexbuilder are generated at bin folder.



Any idea?



VELO




View/reply at keepCompilerGeneratedActionScript < http://www.adobeforums.com/webx?13@@.59b636b6/5>

Replies by email are OK.

Use the unsubscribe < http://www.adobeforums.com/webx?280@@.59b636b6!folder=.3c060fa3>  form to cancel your email subscription.





Participating Frequently
August 20, 2008
But somehow flexbuilder does that....

Generated sources at flexbuilder are generated at bin folder.

Any idea?

VELO
Participating Frequently
August 20, 2008
As I recall now, generated directories get output at each source path root. It seems that the argument which controls this was simply never finished, so I think it's totally hidden from use.

If it's important, you could try patching it, but when I implemented --signature-directory, I remember it being fairly tricky to get totally right.

Jono


On Aug 19, 2008, at 6:32 PM, "Marvin Froeder" < member@adobeforums.com> wrote:

A new message was posted by Marvin Froeder in



Developers --

  keepCompilerGeneratedActionScript



But flex-compiler-oem doesn't allow me to use this class.





View/reply at keepCompilerGeneratedActionScript

Replies by email are OK.

Use the unsubscribe form to cancel your email subscription.


Participating Frequently
August 20, 2008
But flex-compiler-oem doesn't allow me to use this class.
Participating Frequently
August 20, 2008
Did you try it?

It's from CompilerConfiguration.java

Jono


On Aug 19, 2008, at 6:12 PM, "Marvin Froeder" < member@adobeforums.com> wrote:

A new message was posted by Marvin Froeder in



Developers --

  keepCompilerGeneratedActionScript



Are you sure?

Looking at:

http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Configuration.java

I don't find any generatedDirectory parameter.

VELO





View/reply at keepCompilerGeneratedActionScript

Replies by email are OK.

Use the unsubscribe form to cancel your email subscription.


Participating Frequently
August 20, 2008
Are you sure?

Looking at:
http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Configuration.java

I don't find any generatedDirectory parameter.

VELO
Participating Frequently
August 19, 2008
Try generatedDirectory. YMMV as it’s marked as being incomplete.



Jono








From: Marvin Froeder < member@adobeforums.com>

Reply-To: < flexsdk-dev@adobeforums.com>

Date: Tue, 19 Aug 2008 17:30:18 -0700

To: < flexsdk-dev@adobeforums.com>

Subject: keepCompilerGeneratedActionScript



A new discussion was started by Marvin Froeder in



Developers --

  keepCompilerGeneratedActionScript



Hi,



I'm using flex-compiler-oem.



I define keepCompilerGeneratedActionScript(true) configuration when I wanna keep generated files, but, by default the are put on my sourcePath.



Is there any way to define where generated files should be placed?



VELO




View/reply at keepCompilerGeneratedActionScript < http://www.adobeforums.com/webx?13@@.59b636b6>

Replies by email are OK.

Use the unsubscribe < http://www.adobeforums.com/webx?280@@.59b636b6!folder=.3c060fa3>  form to cancel your email subscription.