View unanswered posts | View active topics


Reply to topic  [ 113 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Version number plugin 
Author Message
Member

Joined: Fri Nov 12, 2010 12:02 pm
Posts: 5
Post Re: Version number plugin
Thank you. I found the problem and now the plugin works.
I tried different combinations of plugins and settings, but eventually had to do was remove Version.as. Once the plug recreated it all working again. What exactly was the problem still remains a mystery.

Here's what to be displayed in the window with the error:
The specified argument is out of range.
Parameter name: i
System.Text.RegularExpressions.MatchCollection.get_Item(Int32 i)
Version.PluginMain.getValue(String content, String pattern)
Version.PluginMain.CheckVersionFile()
Version.PluginMain.trackProject(IProject project, Boolean inTrackList)
Version.PluginMain.CheckProject()
Version.PluginMain.HandleEvent(Object sender, NotifyEvent e, HandlingPriority prority)
PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)


Fri Nov 12, 2010 1:57 pm
Profile
Member

Joined: Tue Nov 09, 2010 7:15 pm
Posts: 14
Post Re: Version number plugin
Hi,

Just tried the latest version in the down-loadable zip archive, and FD 3.3.2 throws an error that says it cannot load the plugin. I'm running XP 64bit, if that matters.

thx


Wed Dec 08, 2010 3:42 pm
Profile
Member

Joined: Fri Dec 10, 2010 2:10 pm
Posts: 4
Post Re: Version number plugin
Same for me (same error, FD 3.3.2). I also have 64bit system, win vista.
This plugin sounds really useful, and would be very happy to use it!


Fri Dec 10, 2010 2:12 pm
Profile
Member

Joined: Wed Mar 03, 2010 1:44 pm
Posts: 72
Location: LYON, FRANCE
Post Re: Version number plugin
could you try new build please ? it should be fixed now


Fri Dec 10, 2010 4:29 pm
Profile
Member

Joined: Tue Nov 09, 2010 7:15 pm
Posts: 14
Post Re: Version number plugin
Works fine now.

Thanks!


Fri Dec 10, 2010 7:34 pm
Profile
Member

Joined: Fri Dec 10, 2010 2:10 pm
Posts: 4
Post Re: Version number plugin
Works for me now as well! Thanks for a great and very useful plugin!

It looks like the svn revision is read from the project files. For most of my revisions these files do not change, so the svn revision in Version.as becomes very outdated.
Is it possibly to let the plugin find out what the head revision is somehow?
Or is it possible to define from what file the revision is read by your plugin?


Wed Dec 15, 2010 12:47 pm
Profile
Member

Joined: Wed Mar 03, 2010 1:44 pm
Posts: 72
Location: LYON, FRANCE
Post Re: Version number plugin
yeah it reads the project path, i should change it to check rev of Version.as itself as it should be more accurate


Wed Dec 15, 2010 1:32 pm
Profile
Member

Joined: Fri Dec 10, 2010 2:10 pm
Posts: 4
Post Re: Version number plugin
that would be great, since with every build it gets updated. and most people never commit without building first.


Wed Dec 15, 2010 1:35 pm
Profile
Member

Joined: Wed Oct 17, 2007 3:06 am
Posts: 11
Post Re: Version number plugin
thank u very much,I'm very like ur plugins.


but..

Have a problem,when i create an AS2 project,the Version.as still use AS3 format,like
Code:
Package ......


can u make a little modi for AS2 project?

so proud for u~ thx


Thu Dec 16, 2010 4:22 pm
Profile
Member

Joined: Wed Mar 03, 2010 1:44 pm
Posts: 72
Location: LYON, FRANCE
Post Re: Version number plugin
hmm can't remember what the AS2 looks like :D


Thu Dec 16, 2010 4:28 pm
Profile
Member

Joined: Wed Oct 17, 2007 3:06 am
Posts: 11
Post Re: Version number plugin
lamenace wrote:
hmm can't remember what the AS2 looks like :D


AS2 like this:

Code:
class Version
{
   static var Major:Number = 1;
   static var Minor:Number = 0;
   static var Build:Number = 1;
   static var Revision:Number = 12;
   static var Timestamp:String = "2010/12/17 10:49:39";
   static var Author:String = "yellow";
}


I really need that...thank you very much~


Fri Dec 17, 2010 2:46 am
Profile
Member

Joined: Wed Mar 03, 2010 1:44 pm
Posts: 72
Location: LYON, FRANCE
Post Re: Version number plugin
try it now


Tue Dec 21, 2010 10:49 am
Profile
Member

Joined: Mon Nov 26, 2007 4:55 am
Posts: 4
Post Re: Version number plugin
Just found a small bug, the values don't seem to update in application.xml when using the air 2.0 namespace. So this works:

<?xml version="1.0" encoding="utf-8"?>
<application xmlns="http://ns.adobe.com/air/application/1.5">
<id>.........

But this doesn't:

<?xml version="1.0" encoding="utf-8"?>
<application xmlns="http://ns.adobe.com/air/application/2.0">
<id>.........

Hopefully an easy fix.

Great plugin by the way, just implemented it in all my current projects :D

- Stuv


Thu Dec 30, 2010 8:58 am
Profile
Member

Joined: Wed Mar 03, 2010 1:44 pm
Posts: 72
Location: LYON, FRANCE
Post Re: Version number plugin
stuv wrote:
Just found a small bug, the values don't seem to update in application.xml when using the air 2.0 namespace. So this works:

<?xml version="1.0" encoding="utf-8"?>
<application xmlns="http://ns.adobe.com/air/application/1.5">
<id>.........

But this doesn't:

<?xml version="1.0" encoding="utf-8"?>
<application xmlns="http://ns.adobe.com/air/application/2.0">
<id>.........

Hopefully an easy fix.

Great plugin by the way, just implemented it in all my current projects :D

- Stuv


try it now


Thu Dec 30, 2010 10:20 am
Profile
Member

Joined: Mon Nov 26, 2007 4:55 am
Posts: 4
Post Re: Version number plugin
Perfect :D


Fri Dec 31, 2010 7:24 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 113 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

Who is online

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