View unanswered posts | View active topics


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

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
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.

_________________
Practice always defeats theory


Tue Feb 15, 2011 9:05 pm
Profile WWW
Member

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

Is there an update for the ExportSWC plugin that can support multiple instances of FD?
Right now I'm getting an error each time I open a new instance of FD (first instance - no error):

The process cannot access the file 'C:\Users\xxxxx\AppData\Local\FlashDevelop\Plugins\ExportSWC.dll' because it is being used by another process.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at PluginCore.Helpers.FileHelper.EnsureUpdatedFile(String file)


Thanks

I use multiinstance mode myself everyday so it should work. But I use FD in standalone-mode (no Appdata involved). Maybe thats a problem. Could you check this? (if I'm right, just put an empty ".local" file in your install directory - and set the (sub-)[o]directory[/o] access to allow read and write)

Lg
warappa

_________________
Practice always defeats theory


Tue Feb 15, 2011 9:12 pm
Profile WWW
Member

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
ChrisP wrote:
Great plugin, I've used it a lot.

One problem with the recent FD release. I'm getting this error when trying to compile SWC:

Quote:
Error: Access of possibly undefined property EXIT_FRAME through a reference with static type Class.


Why is it doing this, both tools use the same compiler ? :(

Hm...in a test project I added a reference to EXIT_FRAME and it compiled. Did you solve the issue?
Lg
warappa

_________________
Practice always defeats theory


Tue Feb 15, 2011 9:15 pm
Profile WWW
Member

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
nano wrote:
Great plugin. I've been using FlashDevelop for some time now and I really like the option to create SWC code libraries. Still, I was missing some features in the plugin so I made a few changes that might be useful for others too.
1. Added an option to exclude all hidden classes/files when compiling
2. Added all global class paths to the <source-path>
3. .lxml files are not automatically created for every project opened. Only when saving "SWC Library Options"

If this is interesting to anyone - just let me know, and maybe we can add it to the official plugin.

Yeah, if you would provide me a patchfile I could take a look ;)
Lg
warappa

_________________
Practice always defeats theory


Tue Feb 15, 2011 9:18 pm
Profile WWW
Member

Joined: Fri Jul 30, 2010 2:28 am
Posts: 118
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Quote:
Thanks for your work i.o. I've commited this little change to SVN.

For nothing ;)

Warappa, please make build for FD4. Latest version of ExportSWC (21.09.2010) is not compatible with latest FD4 revisions :(

And please replace PluginMain.cs#PaintTreeNodes() by this:
Code:
      private void PaintTreeNodes(ICollection<GenericNode> nodes)
      {
         string projPathFNm = CurrentProjectPath.FullName;
         int projPathFNmLen = projPathFNm.Length;
         string nodeBackPath;
         string nodeBackPathSub;
         
         foreach (GenericNode node in nodes)
         {
            nodeBackPath = node.BackingPath;
            
            if (nodeBackPath.Contains( projPathFNm ))
            {
               //Check if the backing path is longer than the project path...
               if (projPathFNmLen < nodeBackPath.Length)
               {
                  nodeBackPathSub = nodeBackPath.Substring( projPathFNmLen );
                  
                  if (CurrentSwcProject.Flex_IgnoreClasses.Contains( nodeBackPathSub ))
                     node.ForeColorRequest = Color.DarkGray;
                  if (CurrentSwcProject.CS3_IgnoreClasses.Contains( nodeBackPathSub ))
                     node.ForeColorRequest = Color.DarkGray;
               }
               if (node.GetType() == typeof(TreeNode))
                  PaintTreeNodes(((TreeNode)node).Nodes as ICollection<GenericNode>);
            }
         }
      }

Old version making serious CPU loading with some long project names.
I don't know what concrete problem is was but current code doesn't have that performance downfall :)


Wed Feb 16, 2011 8:44 pm
Profile
Member

Joined: Mon Dec 29, 2008 11:27 am
Posts: 17
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Hello together,
I just grabbed the current trunk from Sourceforge and modified it to work with FD4.

http://www.sendspace.com/file/b5t9ih

In the ZIP file you find the final dll and the new source.

Please note, that this was just a quick modification. I also only did a quick first test so I don't know if all works.

@Warappa: I made modifications to SWCBuilder.cs and PluginMain.cs. Just compare the files to get all changes.

Frozenflash


Thu Feb 17, 2011 3:31 am
Profile
Member

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

new FD version, new ExportSWC:
ExportSWC 4.0!

An updated FD3 version called ExportSWC 2.3 is also available (includes the latest fixes). ExportSWC 2.x won't be developed actively in favor of 4.x.

Enjoy!

Lg
warappa

_________________
Practice always defeats theory


Thu Feb 17, 2011 11:47 pm
Profile WWW
Member

Joined: Sun Jul 18, 2010 8:52 pm
Posts: 10
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
The new version on Sourceforge causes FD3 to crash for me, and there's only one download on there, no option for 2.3 =(


Mon Feb 21, 2011 1:25 am
Profile
Member

Joined: Mon Dec 29, 2008 11:27 am
Posts: 17
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Hey,
yes, you can't use the FD4 version with FD3 because some internals changed.

Just grab 2.3 from the files tab on sourceforge:
http://sourceforge.net/projects/exports ... exportswc/

frozenflash


Mon Feb 21, 2011 10:34 pm
Profile
Member

Joined: Sun Jul 18, 2010 8:52 pm
Posts: 10
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Ah duh! Can't believe I missed those other files!

Cheers
Spec


Tue Feb 22, 2011 10:20 am
Profile
Member

Joined: Wed Jun 04, 2008 12:54 pm
Posts: 32
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Hello everyone,

I launched the ExportSWC4.fdz file and now have no way to launch FD. :(

Each time I launch the application it (almost) immadiately show a windows-XP-application-crash-and-have-to-close popup

I unfortunately read the last post of topic too late. and now even if I try to launch the 2.4 file flashdevelop crashes, which is quite disturbing as I am supposed to send files for tonight. :lol:

does anyone have a solution ?

Thanks


Mon Feb 28, 2011 5:00 pm
Profile
Member

Joined: Sun Jul 18, 2010 8:52 pm
Posts: 10
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
Could try manually deleting the ExportSWC.dll file, if that doesn't work then maybe to a full uninstall (including preferences etc) and then a fresh install?


Mon Feb 28, 2011 5:36 pm
Profile
Member

Joined: Wed Jun 04, 2008 12:54 pm
Posts: 32
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
just to add some details, i tried to reinstall FlashDevelop but nothing changed and I can't find the plugin in the plugin folder


Mon Feb 28, 2011 5:52 pm
Profile
Member

Joined: Wed Jun 20, 2007 8:09 am
Posts: 331
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
spectre1989 wrote:
Could try manually deleting the ExportSWC.dll file, if that doesn't work then maybe to a full uninstall (including preferences etc) and then a fresh install?

If your installed FD in standalone-mode, go to <installLocation>\data\ and delete the exportswc folder.
Restart FD.

If not, go to the user files:
Quote:
User files location depends on your OS:

* Windows XP: C:\Document and Settings\<username>\Local Settings\Application Data\FlashDevelop
* Windows Vista / 7: C:\Users\<username>\AppData\Local\FlashDevelop

and switch into the data folder and delete the exportswc folder.
Restart FD

_________________
Practice always defeats theory


Mon Feb 28, 2011 6:11 pm
Profile WWW
Member

Joined: Wed Jun 04, 2008 12:54 pm
Posts: 32
Post Re: Build SWC from FD! "ExportSWC" plugin [beta]
thank you very much for your help guys

I suppose I have not a standalone version (couldn't find the data folder in installLocation) and when I delete the exportSWC folder and restart FD, it crashes again and automatically creates a new exportSWC folder with the dll inside...

I wish I wouldn't have to uninstall including preferences (are there many files to backup ?) but if you tell me there is no other option I'll do this tomorrow morning.

Thx


Mon Feb 28, 2011 10:50 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 216 posts ]  Go to page Previous  1 ... 9, 10, 11, 12, 13, 14, 15  Next

Who is online

Users browsing this forum: No registered users and 3 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.