| Author |
Message |
|
16ar
Member
Joined: Wed Jun 04, 2008 12:54 pm Posts: 32
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
I made it work !
The exportSWC.dll file was in fact in "Documents and Settings\<username>\Local Settings\Application Data\FlashDevelop\Plugins
I deleted it and now FD launches again.
Thank you for your help
|
| Tue Mar 01, 2011 8:56 am |
|
 |
|
i.o.
Member
Joined: Fri Jul 30, 2010 2:28 am Posts: 118
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
Warappa wrote: i.o. wrote: This is appearing because in source code working directory for compc.exe and asdoc.exe set as project directory. That is not necessary (I've checked out). Warappa, please set working directory as process location. (SWCBuilder.cs#RunCompc(), SWCBuilder.cs#IncludeAsDoc()) Thanks. Thanks for your work i.o. I've commited this little change to SVN. I've checked out it - you have commented line. On trying to build SWC you can see in output: Quote: Error: could not find a JVM. AsDoc complete (5) Build failed (0).
It's not work because (I guess) process directory is not "flexsdk/bin". To resolve it - just replace commented line by this: Code: process.WorkingDirectory = Path.Combine(FlexSdkBase, "bin"); I've checked it - it works 
|
| Sun Mar 13, 2011 4:54 pm |
|
 |
|
i.o.
Member
Joined: Fri Jul 30, 2010 2:28 am Posts: 118
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
Also sometime after SWC building somewhat is keeping hold a reference to output swc file.. Because of that I can't modify output swc (sometime). Maybe it's ExportSWC, maybe it's FD. I don't know how to check it.
|
| Mon Mar 14, 2011 12:41 pm |
|
 |
|
dmitri616
Member
Joined: Wed Mar 16, 2011 12:22 pm Posts: 3
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
16ar wrote: I deleted it and now FD launches again. Best part of this post! Only this saved me from mistake of reading the first page FD 3.3.4 + latest ExportSWC = 
|
| Wed Mar 16, 2011 12:34 pm |
|
 |
|
Warappa
Member
Joined: Wed Jun 20, 2007 8:09 am Posts: 331
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
dmitri616 wrote: 16ar wrote: I deleted it and now FD launches again. Best part of this post! Only this saved me from mistake of reading the first page FD 3.3.4 + latest ExportSWC =  Sry for the inconvenience, but the latest release for FD 3 is 2.3. See this post for more information. Lg warappa
_________________ Practice always defeats theory
|
| Wed Mar 16, 2011 12:39 pm |
|
 |
|
spectre1989
Member
Joined: Sun Jul 18, 2010 8:52 pm Posts: 10
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
Hi all, just tried to build a swc on this machine for the first time, and having some issues. I can build a swf from this project no problem, but when I try to export a swc, I get a popup telling me that MSVCR71.dll is missing, and this in the log: Code: Prebuilding config C:\Users\Joe\Documents\Work\dpals-client.repo\RBLib\obj\RBLib.flex.compc.xml... Configuration writen to: C:\Users\Joe\Documents\Work\dpals-client.repo\RBLib\obj\RBLib.flex.compc.xml Running Process: "C:\Program Files (x86)\FlashDevelop\Tools\flexsdk\bin\compc.exe" -load-config+="C:\Users\Joe\Documents\Work\dpals-client.repo\RBLib\obj\RBLib.flex.compc.xml" Error loading: C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll Build failed (6). I copied msvcr71.dll from jre6/bin to system32, though I'm wondering if that might not work given I'm on Windows 7 x64 and I installed 32 bit jre6 as I understand the flex sdk doesn't get on with x64? Anyway, the popup no longer comes up, but I still get that message in the logs. If I delete exportswc and reinstall it, the popup comes back, and after closing and opening FD a few times it stops strangely... Really stumped on this, any help much appreciated.
|
| Fri Mar 18, 2011 2:07 am |
|
 |
|
gazugafan
Member
Joined: Thu May 19, 2011 5:12 am Posts: 4
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
Thank you so much for this plugin! I can't imagine how many hours you've just saved me. I am running into one problem, though... AsDoc integration doesn't seem to be working for me.
First off, I'm using v2.3 of the plugin because the latest version was causing FlashDevelop to crash on startup. So, it's possible you've already fixed this. I didn't see anything about this mentioned in the thread, but my apologies if this has already been addressed. If not... well, I've got the "Integrate AsDoc" checkbox checked. In the build output, it looks like things are going well. It says:
Building AsDoc AsDoc temp output: C:\Users\Ken\AppData\Local\Temp\eacbf02a-45e6-41e0-86d7-be97100782ce Start AsDoc: C:\Program Files\FlashDevelop\Tools\flexsdk\bin\asdoc.exe -lenient=true -keep-xml=true -skip-xsl=true -output "C:\Users\Ken\AppData\Local\Temp\eacbf02a-45e6-41e0-86d7-be97100782ce" -source-path "c:\users\ken\websites\mysite\flash\api\src" -doc-classes com.mydomain.game.MyAPI -exclude-dependencies=true -target-player=10.1 AsDoc complete (0) AsDoc created successfully, including in SWC... AsDoc integration complete (0) Build Successful (0).
I also tried running the asdoc.exe command that was in the output manually. It ran and generated what looks like to me is probably normal asdoc output files. A few XML files--most containing text from my asdoc comments. Sounds good, right?
When I add the SWC into another project and import the namespace, I can use the class from the SWC and everything builds just fine, but no asdoc information shows up in the tooltips or code completion. If I have the SWC project open, the asdoc tooltips work. It seems like the asdoc information isn't getting integrated into the SWC. Any ideas?
|
| Thu May 19, 2011 5:30 am |
|
 |
|
Warappa
Member
Joined: Wed Jun 20, 2007 8:09 am Posts: 331
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
A new release of ExportSWC for latest FlashDevelop 4 Beta build: ExportSWC 4.2Attention: Here a listing of what version of ExportSWC is compatible with what version FlashDevelop: Version 1.1 - 2.3 is ONLY compatible with FlashDevelop 3Version 4.0 - 4.1 is ONLY compatible with FlashDevelop 4 Beta until R1879Version 4.2 is ONLY compatible with FlashDevelop 4 R1880 and higher! Lg warappa
_________________ Practice always defeats theory
|
| Thu Jun 02, 2011 3:29 pm |
|
 |
|
grapefrukt
Member
Joined: Sun Aug 12, 2007 1:24 pm Posts: 23 Location: Lund, Sweden
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
this plugin is really useful, so nice not having to deal with manually updating a build file each time!
however, i find myself enabling and disabling it alot because it creates those projectname.lxml in every project i open regardless if i touch the export button or not, i imagine it should be resonably easy to hold off creating that file until the plugin is used for the first time in a project?
|
| Fri Jun 03, 2011 11:20 am |
|
 |
|
Philippe
Admin
Joined: Wed Aug 31, 2005 7:27 am Posts: 10749 Location: Paris, France
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
grapefrukt wrote: this plugin is really useful, so nice not having to deal with manually updating a build file each time!
however, i find myself enabling and disabling it alot because it creates those projectname.lxml in every project i open regardless if i touch the export button or not, i imagine it should be resonably easy to hold off creating that file until the plugin is used for the first time in a project? That's why FD4 now offers project-storage for plugins: http://flashdevelop.org/community/viewt ... f=4&t=8335
|
| Fri Jun 03, 2011 7:37 pm |
|
 |
|
gazugafan
Member
Joined: Thu May 19, 2011 5:12 am Posts: 4
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
Hi Warappa! Thanks again for the awesome plugin. I just downloaded the latest version of FlashDevelop (4 R1906) and the latest ExportSWC (4.2), but I'm still having the same problem with ASDoc integration. It's the same output as before, and still no tooltips. Could I be missing something?
|
| Sat Jun 04, 2011 10:23 pm |
|
 |
|
cardinal4
Member
Joined: Tue Aug 25, 2009 8:49 am Posts: 9 Location: Singapore
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
I'm having some issues with the "Integrate ASDoc" option too, but my error is Code: command line: Error: unable to open <.....> Use 'asdoc -help' for information about using the command line. AsDoc complete (1) Build failed (0).
I tried inputting the command directly in cmd prompt and got an error. I think it's because of the -library-path parameter; if i remove it I don't get the error anymore. Question is, how do I get rid of that parameter? I even tried modifying the flex.compc.xml but it just rebuilds it everytime with the parameter back in. Using FD 4 with ExportSWC 4.2 FD 3.3.4 with ExportSWC 2.3 also didn't work. Code: Start AsDoc: C:\flex_sdk\flex_sdk_4.1.0.16076\bin\asdoc.exe -lenient=true -keep-xml=true -skip-xsl=true -output "C:\Users\Lenovo\AppData\Local\Temp\35f9b6c6-6e83-4d23-a1d0-4ea6633dec9b" -source-path "c:\users\lenovo\flash\seion\src" -library-path "c:\users\lenovo\flash\seion\" -doc-classes <.....> -exclude-dependencies=true -target-player=10.0
|
| Sun Jun 05, 2011 7:43 am |
|
 |
|
secondAve
Member
Joined: Tue Jun 07, 2011 6:00 pm Posts: 1
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
Hi all, First off, thanks for the effort you've put into this plugin. It's really awesome. I am not sure if this is really the correct spot to place this question, but I am putting it here because I have a second question definitely related to the plugin. Anyway, question one: I am using ExportSWC to create a swc file from a few actionscript classes. This works fine, however, when I try to pull the this swc into another project (Included and added to library), I only get partial intellisense. By this I mean it shows me the functions that are accessible and the parameters, but I just don't get the descriptions of what the parameters are even though I have set up javaDoc style commenting. I thought the answer would be intrinsic classes (although I am not very familiar with them and could be way off). I opened the "Configure" options for ExportSWC and checked "Create Intrinsic Classes" - then pulled the .asi files it created with the swc into my other project, opened Project > Properties > Configure Options > Intrinsic Libraries and added the path to the .asi files, but still don't get the descriptions. So basically my question is: Is there a way to get the intellisense working with swcs in FD? - I have included a couple images that will hopefully help to keep everything clear. (I get full intellisense on the right side of the picture because the project I created the swc from is the one that is opened). My second question is a little quicker: Right now we are able to exclude specific files from the swc by right clicking > Exclude from Flex SWC (Which is great!) but I saw earlier in the thread that you were thinking about implementing exclusion of folders rather than having to do each file individually. Has this been done and I am missing something or has it not been implemented (yet?)? Thanks for any help! Images: http://people.rit.edu/~ngb5601/intellisenseEx.jpg http://people.rit.edu/~ngb5601/comments.jpgEDIT: It might also help to mention that if I change the swc extension to a zip and inspect it the only two files are "catalog.xml" and "library.swf" - Nevermind, it turns out I had an older version of ExportSwc, with version 2.3 I can check "Integrate AsDocs" and now the swc has a Docs folder with a bunch of xml files in it, doesn't change anything for me, but thought I would point it out.
|
| Tue Jun 07, 2011 7:17 pm |
|
 |
|
antoniobrandao
Member
Joined: Tue Feb 19, 2008 12:32 pm Posts: 15
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
After I installed it, FD keeps crashing on restart
Does this work with FlashDevelop 3.3.4 RTM ?
|
| Sun Jun 12, 2011 8:02 pm |
|
 |
|
gazugafan
Member
Joined: Thu May 19, 2011 5:12 am Posts: 4
|
 Re: Build SWC from FD! "ExportSWC" plugin [beta]
antoniobrandao wrote: After I installed it, FD keeps crashing on restart
Does this work with FlashDevelop 3.3.4 RTM ? I think you need to downgrade to ExportSWC 2.3 for the FlashDevelop 3.x branch. Or use FlashDevelop 4.x if you're feeling up to using the beta.
|
| Sun Jun 12, 2011 8:31 pm |
|
|