View unanswered posts | View active topics


Reply to topic  [ 216 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12 ... 15  Next
Build SWC from FD! "ExportSWC" plugin [beta] 
Author Message
Member

Joined: Fri Jul 23, 2010 10:26 am
Posts: 34
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
I've tried this plug-in to compile an SWC of a custom framework our company uses for several projects. Didn't specify any options in the SWC configururation.
Listed "src" as the project's class path. Project options are set to target Flash Player 10 (also tried FP9). When I click the ExportSWC build icon,
it runs the compiler, and after a while says "Build failed (0)" with no additional details.
"C:\Program Files\Adobe\Flex Builder 3\sdks\3.4.0\bin\compc.exe" -load-config+="C:\project\flash\c\SLS003\FlexDev_Framework\obj\FlexDev_Framework.flex.compc.xml"
Picked up JAVA_TOOL_OPTIONS: -Xmx256M
Build failed (0).

The funny thins is - it does produce an SWC that looks ok and I've tried to use it in my project and it works fine. So it seems that the "build failed" message is displayed in error. Am I doing smth wrong or is this a bug?


Wed Aug 04, 2010 11:10 am
Profile
Member

Joined: Sun Aug 15, 2010 10:13 pm
Posts: 2
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
I have a problem:

Prebuilding config D:\as3\ricardocanelas\obj\Ricardo Canelas.flex.compc.xml...
Configuration writen to: D:\as3\ricardocanelas\obj\Ricardo Canelas.flex.compc.xml
*** Unable to build SWC: Project or compc.exe not found
em ExportSWC.SWCBuilder.RunCompc(String confpath)


Sun Aug 15, 2010 10:15 pm
Profile
Member

Joined: Wed Apr 09, 2008 2:40 pm
Posts: 19
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Hello there!

I tryed exportSWC with Flex3 classes and it works. But when compiling a Flex4 project with spark classes I get this kind of errors (in French sorry):

Erreur: Impossible de localiser la classe de base spark.components.SkinnableContainer spécifiée pour la classe de composant fr.(...).
= Unable to find base class spark.components.SkinnableContainer...

SkinnableContainer is the base class of the mxml. It does the same for every mxml based on a spark component (Group, ItemRenderer...). Compiling the same project to a swf with FD does not throw any error.

Flex 4.1, Flash 10, FD 3.2.2, ExportSWC 2.0


Thank you in advance, I can't wait writing it's a wonderful plugin ;)


Wed Aug 18, 2010 2:53 pm
Profile
Member

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
heilong wrote:
I've tried this plug-in to compile an SWC of a custom framework our company uses for several projects. Didn't specify any options in the SWC configururation.
Listed "src" as the project's class path. Project options are set to target Flash Player 10 (also tried FP9). When I click the ExportSWC build icon,
it runs the compiler, and after a while says "Build failed (0)" with no additional details.
"C:\Program Files\Adobe\Flex Builder 3\sdks\3.4.0\bin\compc.exe" -load-config+="C:\project\flash\c\SLS003\FlexDev_Framework\obj\FlexDev_Framework.flex.compc.xml"
Picked up JAVA_TOOL_OPTIONS: -Xmx256M
Build failed (0).

The funny thins is - it does produce an SWC that looks ok and I've tried to use it in my project and it works fine. So it seems that the "build failed" message is displayed in error. Am I doing smth wrong or is this a bug?

Are you using the latest release?

_________________
Practice always defeats theory


Wed Aug 18, 2010 4:38 pm
Profile WWW
Member

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
ricardocanelas wrote:
I have a problem:

Prebuilding config D:\as3\ricardocanelas\obj\Ricardo Canelas.flex.compc.xml...
Configuration writen to: D:\as3\ricardocanelas\obj\Ricardo Canelas.flex.compc.xml
*** Unable to build SWC: Project or compc.exe not found
em ExportSWC.SWCBuilder.RunCompc(String confpath)

You need to set up the flex SDK in the AS3Context.

_________________
Practice always defeats theory


Wed Aug 18, 2010 4:39 pm
Profile WWW
Member

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Kodiak wrote:
Hello there!

I tryed exportSWC with Flex3 classes and it works. But when compiling a Flex4 project with spark classes I get this kind of errors (in French sorry):

Erreur: Impossible de localiser la classe de base spark.components.SkinnableContainer spécifiée pour la classe de composant fr.(...).
= Unable to find base class spark.components.SkinnableContainer...

SkinnableContainer is the base class of the mxml. It does the same for every mxml based on a spark component (Group, ItemRenderer...). Compiling the same project to a swf with FD does not throw any error.

Flex 4.1, Flash 10, FD 3.2.2, ExportSWC 2.0


Thank you in advance, I can't wait writing it's a wonderful plugin ;)

Strange. Would you please post the compile output?

_________________
Practice always defeats theory


Wed Aug 18, 2010 4:54 pm
Profile WWW
Member

Joined: Fri Jul 23, 2010 10:26 am
Posts: 34
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Yes, I'm getting "Build failed (0)" with the latest version.


Thu Aug 19, 2010 8:24 am
Profile
Member

Joined: Wed Apr 09, 2008 2:40 pm
Posts: 19
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Warappa wrote:
Strange. Would you please post the compile output?


Prebuilding config D:\espaceDeTravailLocal\prj\dps\fer\main\src\obj\fer.flex.compc.xml...
Configuration writen to: D:\espaceDeTravailLocal\prj\dps\fer\main\src\obj\fer.flex.compc.xml
Running Process:
"C:\Program Files\Adobe\Adobe Flex 4.1\bin\compc.exe" -load-config+="D:\espaceDeTravailLocal\prj\dps\fer\main\src\obj\fer.flex.compc.xml"
D:\espaceDeTravailLocal\prj\dps\fer\main\src\src\fr\fer\views\SearchBlock.mxml: Erreur: Impossible de localiser la classe de base spark.components.SkinnableContainer spécifiée pour la classe de composant fr.fer.views.SearchBlock.

D:\espaceDeTravailLocal\prj\dps\fer\main\src\src\fr\fer\views\VehiclePicker.mxml: Erreur: Impossible de localiser la classe de base spark.components.SkinnableContainer spécifiée pour la classe de composant fr.fer.views.VehiclePicker.

D:\espaceDeTravailLocal\prj\dps\fer\main\src\src\fr\fer\views\VehicleConfig.mxml: Erreur: Impossible de localiser la classe de base spark.components.Group spécifiée pour la classe de composant fr.fer.views.VehicleConfig.

D:\espaceDeTravailLocal\prj\dps\fer\main\src\src\fr\fer\views\itemRenderers\SavedVehicle.mxml: Erreur: Impossible de localiser la classe de base spark.components.supportClasses.ItemRenderer spécifiée pour la classe de composant fr.fer.views.itemRenderers.SavedVehicle.

D:\espaceDeTravailLocal\prj\dps\fer\main\src\src\fr\fer\views\searchBlock\Control.mxml: Erreur: Impossible de localiser la classe de base spark.components.SkinnableContainer spécifiée pour la classe de composant fr.fer.views.searchBlock.Control.

D:\espaceDeTravailLocal\prj\dps\fer\main\src\src\fr\fer\views\itemRenderers\DealerListItem.mxml: Erreur: Impossible de localiser la classe de base spark.components.supportClasses.ItemRenderer spécifiée pour la classe de composant fr.fer.views.itemRenderers.DealerListItem.

D:\espaceDeTravailLocal\prj\dps\fer\main\src\src\fr\fer\views\searchBlock\Maintenance.mxml: Erreur: Impossible de localiser la classe de base spark.components.SkinnableContainer spécifiée pour la classe de composant fr.fer.views.searchBlock.Maintenance.

D:\espaceDeTravailLocal\prj\dps\fer\main\src\src\fr\fer\views\searchBlock\Tires.mxml: Erreur: Impossible de localiser la classe de base spark.components.SkinnableContainer spécifiée pour la classe de composant fr.fer.views.searchBlock.Tires.

D:\espaceDeTravailLocal\prj\dps\fer\main\src\src\fr\fer\views\StoreLocator.mxml: Erreur: Impossible de localiser la classe de base spark.components.SkinnableContainer spécifiée pour la classe de composant fr.shivacom.fer.views.StoreLocator.

D:\espaceDeTravailLocal\prj\dps\fer\main\src\src\fr\fer\views\Main.mxml: Erreur: Impossible de localiser la classe de base spark.components.Group spécifiée pour la classe de composant fr.shivacom.fer.views.Main.

D:\espaceDeTravailLocal\prj\dps\fer\main\src\src\fr\fer\views\searchBlock\Technical.mxml: Erreur: Impossible de localiser la classe de base spark.components.SkinnableContainer spécifiée pour la classe de composant fr.fer.views.searchBlock.Technical.

Build failed (11).


Thu Aug 19, 2010 8:25 am
Profile
Member

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
OK, it's because the flex swcs are not included automatically. Please add the framework SWCs as external libraries to your project then it will work!

_________________
Practice always defeats theory


Thu Aug 19, 2010 9:03 am
Profile WWW
Member

Joined: Fri Jul 23, 2010 10:26 am
Posts: 34
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Do you need any debug output or smth like that from me, to diagnose the build failed?


Thu Aug 19, 2010 9:11 am
Profile
Member

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
heilong wrote:
Do you need any debug output or smth like that from me, to diagnose the build failed?

Yes, would be helpful.

_________________
Practice always defeats theory


Thu Aug 19, 2010 11:34 am
Profile WWW
Member

Joined: Fri Jul 23, 2010 10:26 am
Posts: 34
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Warappa wrote:
heilong wrote:
Do you need any debug output or smth like that from me, to diagnose the build failed?

Yes, would be helpful.


So what do I have to do to get some verbose diagnostic stuff for you?
Right now it only displays what I've already said. "Build failed (0)."
The working SWC is produced, nevertheless.


Thu Aug 19, 2010 11:37 am
Profile
Member

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
heilong wrote:
Right now it only displays what I've already said. "Build failed (0)."

Oh sorry, I missed that. Unfortunatly there is no diagnostic mode.
But could you provide me a test project where this error happens?

_________________
Practice always defeats theory


Thu Aug 19, 2010 1:39 pm
Profile WWW
Member

Joined: Fri Jul 23, 2010 10:26 am
Posts: 34
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
PMed the link to the project's zip.


Thu Aug 19, 2010 1:58 pm
Profile
Member

Joined: Wed Apr 09, 2008 2:40 pm
Posts: 19
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Hi Warappa,
Thank you for your fast reply!
I included as much swc from the framework I could (framework, flash-integration, osmf, rpc, spark, sparskins, textLayout ans utilities) and I got the following:

Erreur: impossible de localiser la source de l'ensemble de ressources SharedResources.
Erreur: impossible de localiser la source de l'ensemble de ressources collections.
Erreur: impossible de localiser la source de l'ensemble de ressources components.
Erreur: impossible de localiser la source de l'ensemble de ressources controls.
Erreur: impossible de localiser la source de l'ensemble de ressources core.
Erreur: impossible de localiser la source de l'ensemble de ressources effects.
Erreur: impossible de localiser la source de l'ensemble de ressources formatters.
Erreur: impossible de localiser la source de l'ensemble de ressources layout.
Erreur: impossible de localiser la source de l'ensemble de ressources skins.
Erreur: impossible de localiser la source de l'ensemble de ressources sparkEffects.
Erreur: impossible de localiser la source de l'ensemble de ressources styles.
Erreur: impossible de localiser la source de l'ensemble de ressources textLayout.
Build failed (12).

Hope you can help me there...


Thu Aug 19, 2010 2:50 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 216 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12 ... 15  Next

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.