| Author |
Message |
|
pesh
Member
Joined: Mon Jan 18, 2010 9:46 am Posts: 5
|
 Re: Version number plugin
Hi! There is a little problem with plugin. Everytime I create new project and accept it as versioned plugin save directory and project name in settings. But if I for some reasons delete Version.as and try to open project in FD again it make an exception that can't find this file. Why need to save directory and project in settings? You could just check Version.as file existance in source directory everytime project opens and if it doesn't exist ask to create it again. Something like that would be better solution I think. Sorry for my bad english if it is because I just learning.
|
| Wed Apr 07, 2010 7:41 am |
|
 |
|
HraD
Member
Joined: Thu Mar 25, 2010 10:19 pm Posts: 12
|
 Re: Version number plugin
Hi all! I want to post a small request. It would be great if plugin can automatically change version in application.xml file for AIR projects.
|
| Thu Apr 08, 2010 7:35 am |
|
 |
|
zszen
Member
Joined: Fri Mar 09, 2007 8:02 am Posts: 270
|
 Re: Version number plugin
It is so cool and very very useful !! lol
|
| Thu Apr 08, 2010 10:31 am |
|
 |
|
lamenace
Member
Joined: Wed Mar 03, 2010 1:44 pm Posts: 72 Location: LYON, FRANCE
|
 Re: Version number plugin
HraD wrote: Hi all! I want to post a small request. It would be great if plugin can automatically change version in application.xml file for AIR projects. what do you mean?
|
| Fri Apr 09, 2010 8:11 am |
|
 |
|
lamenace
Member
Joined: Wed Mar 03, 2010 1:44 pm Posts: 72 Location: LYON, FRANCE
|
 Re: Version number plugin
pesh wrote: Hi! There is a little problem with plugin. Everytime I create new project and accept it as versioned plugin save directory and project name in settings. But if I for some reasons delete Version.as and try to open project in FD again it make an exception that can't find this file. Why need to save directory and project in settings? You could just check Version.as file existance in source directory everytime project opens and if it doesn't exist ask to create it again. Something like that would be better solution I think. Sorry for my bad english if it is because I just learning. hmm it doesn't give me an exception here. Using latest build? Directory is saved in settings because Version.as can be placed where you want in your dirs
|
| Fri Apr 09, 2010 8:16 am |
|
 |
|
HraD
Member
Joined: Thu Mar 25, 2010 10:19 pm Posts: 12
|
 Re: Version number plugin
lamenace wrote: HraD wrote: Hi all! I want to post a small request. It would be great if plugin can automatically change version in application.xml file for AIR projects. what do you mean? When you create AIR application in FD, there is file in project folder named application.xml with settings for installation and packaging. Code: <?xml version="1.0" encoding="utf-8" ?> - <application xmlns="http://ns.adobe.com/air/application/1.5"> <id>ru.alice.gls.AGLS</id> <version>1.2.345</version> <filename>AGLS</filename> <name>AGLS</name> <description /> <copyright /> - <initialWindow> <title>AGLS</title> <content>AGLS.swf</content> <systemChrome>standard</systemChrome> <transparent>false</transparent> <visible>true</visible> <minimizable>true</minimizable> <maximizable>true</maximizable> <resizable>true</resizable> </initialWindow> - <!-- More options: http://livedocs.adobe.com/flex/3/html/File_formats_1.html#1043413
--> </application> It has property "version", and it would be great to update it according to Version.as.
|
| Sat Apr 10, 2010 6:01 am |
|
 |
|
lamenace
Member
Joined: Wed Mar 03, 2010 1:44 pm Posts: 72 Location: LYON, FRANCE
|
 Re: Version number plugin
ohh ok i will check it asap or maybe release code so ppl can update it
|
| Thu Apr 22, 2010 9:37 pm |
|
 |
|
lab9
Member
Joined: Sat Jan 17, 2009 11:08 pm Posts: 3
|
 Re: Version number plugin
Very useful plugin, thanks.
I found a little problem with it when you have several versions of the same project, like in differents branches of a repository. The plugin updates all Version files to the same values, when it should only change on the project you're currently working on.
|
| Sun Apr 25, 2010 7:38 pm |
|
 |
|
lamenace
Member
Joined: Wed Mar 03, 2010 1:44 pm Posts: 72 Location: LYON, FRANCE
|
 Re: Version number plugin
so strange it can do that! it should just change one Version.as
Show me your project tree
|
| Mon Apr 26, 2010 12:07 pm |
|
 |
|
RaptorRVL
Member
Joined: Sat Apr 24, 2010 7:28 pm Posts: 2
|
 Re: Version number plugin
If you are wondering if the plugin gives an error at/after build 10.000, it does!  Quote: Value of '10002' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'. Parameter name: Value
at System.Windows.Forms.NumericUpDown.set_Value(Decimal value) at Version.PluginUI.set_Build(Decimal value) at Version.PluginMain.IncrementVersion() at Version.PluginMain.HandleEvent(Object sender, NotifyEvent e, HandlingPriority prority) at PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)
|
| Tue Apr 27, 2010 1:09 am |
|
 |
|
lamenace
Member
Joined: Wed Mar 03, 2010 1:44 pm Posts: 72 Location: LYON, FRANCE
|
 Re: Version number plugin
Ok, changes made on controls and source code is now online
|
| Tue Apr 27, 2010 9:29 am |
|
 |
|
zszen
Member
Joined: Fri Mar 09, 2007 8:02 am Posts: 270
|
 Re: Version number plugin
nice work! lol
|
| Tue May 11, 2010 1:29 am |
|
 |
|
zszen
Member
Joined: Fri Mar 09, 2007 8:02 am Posts: 270
|
 Re: Version number plugin
Nice work ! lol
|
| Wed May 19, 2010 10:23 am |
|
 |
|
QuantumTiger
Member
Joined: Wed Jul 16, 2008 10:11 am Posts: 1
|
 Re: Version number plugin
Cool!. I was just thinking to myself I wonder if there is a way to do this in FlashDevelop and I found this thread. Very helpful. Many thanks.
_________________ QT
|
| Sat Jun 05, 2010 9:03 pm |
|
 |
|
pesh
Member
Joined: Mon Jan 18, 2010 9:46 am Posts: 5
|
 Re: Version number plugin
It's not working on 3.2.1. Version is not changing!
|
| Thu Jun 10, 2010 4:15 pm |
|
|