Versioning a desktop application

Hi,
I'm makeing a java desktop application, but i can't figure how to assign a version (mayor, minor, revision) to my application.
Can anyone help me with this?
Im' using NetBeans 6.0.1, with java 1.6
Regards,
Carlitos

If you use ANT to build your application into a JAR, there is an build number task. You use it to increment and store the value in the MANIFEST. Then from your java code, you can read the stored value.
Complete example at [http://www.rgagnon.com/javadetails/java-0532.html]
Bye.
RG.

Similar Messages

  • Creative Cloud Desktop Application Manager Unable to Update  New Version of PS CC

    Windows 7, 64 bit
    Received notification of new software for PS CC.  Desktop application manager appears, with a creative cloud note over the desktop app mgr saying:  " A new ver of CC is available.  Update now?"  I click update and launching creative cloud desk appears and disappears.  Note in bottom right tray says update to cc available and it too disappears.
    Looked for help on Adobe website and tried changing name of OOBE to OOBE_old.
    Tried to download update directly from PS CC.  Went to help; update;   It failed to update completely and left the following error message: 
    Adobe CSXS Infrastructure 4
    Installation failed. Error Code: U44M1P7
    Now PS CC has lost some of functionality.
    Marc

    Genius.
    Worked a treat, although, as Lion hides the User's Library folder I had to launch Terminal to make it visible first. Do you think the fact the Library's now invisible might've been an issue here?
    Whatever, all working now and Creative Cloud Files all synced again.
    Thanks very much Jeff.

  • Good morning I want to know that installing my segund licensed under cc desktop application but let me just install trial versions

    Good morning I want to know that installing my segund licensed under cc desktop application but let me just install trial versions

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • Error Installing Adobe Air from Story Desktop Application Installer

    This is truly driving me nuts already.
    Every time I try to install the Desktop Application from the Story website, it says I must install Adobe Air. So I click Install, it shows the progress bar to 100%, then errors out with a window. The window header reads "Adobe AIR Installer" and the main section of the window reads "Couldn't write the application to the hard disk. Please verify the hard disk is available and try again." - There is a Retry and Cancel. Retry does it all again with same results.
    No, I had no previous versions of Adobe Air. So I tried installing AIR direct from the Adobe website, and it installs fine. So I go back to the Story webpage and try installing the Desktop Application again and the exact same set of events as described above happens. I uninstalled the AIR install, tried again, same result.
    I had Production Premium CS3 previously, and installed Production Premium CS5 UPGRADE. All the programs in the suite work like a charm!
    I'm running Windows 7 64 bit with 208 Gig free on my C drive, as well as over 500 gig free spread out over two other drives. 8 Gig memory, and two Nvidia Qadro FX 3500 video cards (If that matters at all). Full admin rights to the PC, not limited in any way.
    A quick Google search shows plenty of other people having the same problem,  just no known fixes I've found!
    HELP!!!
    PS- I have a picture of the error message, but the insert picture link is greyed out and won't let me add anything to this post.

    Here is the installer log entries as requested:
    9/3/10 11:34:54 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] Starting app install of file:///Users/Shared/Downloads/AdobeStory.air
    9/3/10 11:34:54 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] UI SWF load is complete
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] UI initialized
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] beginning UI styling
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] UI styling complete
    9/3/10 11:34:55 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] Unpackaging to /private/var/folders/dJ/dJl0jNt6GK4MiC2esOh-GU+++TM/TemporaryItems/FlashTmp0
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] unpackaging/validation is complete
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] application is bound to this version of the runtime
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] app id com.adobe.AdobeStory
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] pub id 4875E02D9FB21EE389F73B8D1702B320485DF8CE.1
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] Application located at /Applications
    9/3/10 11:34:58 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] The certificate of the installed app fails to match either the signature or migration signature of the AIR file
    9/3/10 11:35:01 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] starting cleanup of temporary files
    9/3/10 11:35:02 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] application installer exiting
    9/3/10 11:35:02 AM /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[344] application installer exiting
    9/3/10 11:35:02 AM com.apple.launchd[223] ([0x0-0x40040].com.adobe.air.ApplicationInstaller[344]) Exited with exit code: 9
    Thank you for your help.

  • Trouble logging in to desktop application

    Hi,
    I've been a user of Adobe story since the first couple of weeks of it's free trial a year back, but I'm having trouble logging into the desktop application now. Whenever I try to sign in, it gives me the "signing in..." window, but then the window closes and it leaves me on the first page with only two options "learn more" or "sign in."
    Another discussion thread told me to delete the "PrivateEncryptedDatak" keychain from the keychain access application, but that didn't help. I also tried deleting the files in the ELS of the AIR application library (aka just moving them so I could return them in case this didn't solve the problem), and that just prompted me to upgrade my account. After putting the files back into the ELS of the AIR application library, it didn't prompt me to upgrade my account but the previous problem remained.
    I was able to log into the desktop application about 2-3 weeks ago, no problem. I am still able to log onto the application through the browser without a problem either - except for that it doesn't have the changes I made to my scripts 2-3 weeks ago.
    Any help?
    Thanks,
    Michael

    Thanks for your help! I'll go ahead and try that.
    A couple of questions first:
    "Rename/Delete your local DB (keep a copy of it, this is your data you will need to restore it) ( It can be found at OSX:  /Users/username/Library/Preferences/ com.adobe.AdobeStory.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1 If Libraryfolder in not visible then follow the steps listed on this page (http://osxdaily.com/2011/07/22/access-user-library-folder-in-os-x-lion /) to reach to library folder)"
    There is also a com.adobe.AdobeStory.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1.plist file. Should I delete this too or just the com.adobe.AdobeStory.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1 folder?
    "Ideally now AIR application is only for the subscribed users but in case it was already being used that user should be able to use it in offline mode. If none of these solutions work out we can help you extract your data from your local DB."
    -Does this mean that I will no longer be able to use the desktop application online? A friend of mine who started using the adobe story with me around the same time (a year ago when adobe was only offering story for free) and he is still able to use his desktop application online. If I can only use the desktop application offline, how will it ever sync with the browser version?
    Thanks!

  • We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double

    We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double clicked in Mac 10.6.7 at out clients location, its not opening. For your information the client is able to open this same application by double clicking on index.swf file. The main problem is that client is not able to open the application using index.app file at their office whereas we are able to do so at our office. Can anyone give some suggestions to sort this problem?

    The most common reason is different versions of Flash, or different versions of web browsers used.  Some users may elect to not have Flash installed at all because of the processor overhead of Flash.  If you are going to make an application for a client, check what operating system and browser versions they are using first.  Then determine if a stand alone application is required, or if they have the necessary plugins to run specific browser enhanced code.
    P.S. MAC is an acronym for Media Access Control.  Mac is the shorthand for Macintosh, the operating system and computers made by Apple Inc.

  • Need help on making desktop application to web application having individual controls for users at the same time

    Hi,
    I have an desktop application and the following are the functionalities of the same.
    1. User inputs the data file with path (log file) to parse the required data.
    2. Once the user enters the path and starts the tool with start button, the tool parse the required data in terms of records and gives the records (creates output file containing all the useful records).
    3. Have popup window to display a group of data.
    4. Have popup to Plot graph. When a button is pressed in main GUI, the popup is opened giving scroll bar menus to choose the data for the graph. User after selecting the data (multiple Y axis) press another button to plot the graph. The input to this popup is the output file generated by this tool.
    5. The main GUI has buttons (play, step forward, step backward, reverse play, pause, stop, 1st record, last record - like tape recorder buttons) to play the records one by one.
    This application is used by many people and since its a desktop application (created in labview 2009), the user every time has to manually install the newer version.
    "So it is required to make the application into web based so that, the user can individually access the tool at the same time (different instances same as desktop app) and run their own data files from their system. The output files to be stored in the respective user's system."
    Can this be done using Web Publishing or Web Services present in LabView?
    I tried using Web Publishing but it gives control to only one user at a time and loading the files from the client path to run the tool is not possible.

    Simple. 
    If all you are worried about are updates, just put the EXE on a shared network drive and have your users launch it from there.

  • Unable to edit SharePoint document in desktop applications

    A number of our users are reporting issues when trying to edit Excel or Word documents that are stored on SharePoint via their Desktop applications. The error is as follows 
    Error 1: "Sorry, we couldn't open [file location here]"
    Followed by:
    Error 2: "Microsoft Excel cannot access the file [file location here] There are seveal possible reasons:"
    We are running Windows 8 and I have tried resetting IE settings back to default and removing all Windows Credentials (well, only those relevant to Office). If I remove the credentials I get asked to sign back in, which I do. 
    Any ideas what else we can try?

    PLease try with office 32 bit version. 64bit sometime create issue.
    Regards Sudip Misra [email protected] +1-412-237-5435 Pittsburgh, PA

  • What is the best practice when distributing a desktop application which uses SMO

    I have a WPF application which installs a web site. One of the installation steps is to execute a number of SQL scripts which will install website's database. The database server is not necessarily the same machine as the product is installed - in most cases
    it's a different server on the same network. All the scripts are generated by a build of database project (visual studio 2012 db project) - hence all of those are in sqlcmd mode.
    I can workaround sql variables (:variable - type of creature) by making some simple text replacements. The big problem is with the "GO" statements. At first I thought that I can split the script into many subscripts using a regex split operation
    defining "GO" to be the separator - this did not work; having a world Polygon in the script will cause the whole operation to fail. Unfortunately I have no control  over the content of the script hence if someone will decide
    to put a comment like /* If you do not know how to use this script then GO TO HELL */ would break the installation process.
    I have then tried executing the whole script (with "GO" statements) using SMO. This works well on my development machine but once I try to do this on a server, application falls over missing dlls. Now for Microsoft.SqlServer.ConnectionInfo, Microsoft.SqlServer.Smo, Microsoft.SqlServer.SqlClrProvider
    and Microsoft.SqlServer.SqlEnum the solution is simple - I can just set "Copy local" to true and those dlls will be distributed with the application. 
    Big problem is with Microsoft.SqlServer.SqlClrProvider.dll. OK, I can get this library from my local machine - but I am not sure which SQL version this will be used with. I can't include more than one of those dlls as all of those have the same name. 
    I know that the official MS line is to install SQL feature pack (http://msdn.microsoft.com/en-us/library/ff713979.aspx). But again - I do not know which version of SQL my application will be working with, and I need to make the installation process as simple
    as possible. 
    My question is - is there a way I can distribute a desktop application (which makes a use of SMO) without any prerequisites and for all versions of SQL server? If there is no such a thing then using SMO is pretty much pointless as it cannot be distribute
    - even if then it's not version agnostic... Thanks for any help! 

    I agree with Olaf, when you want to ensure that you can interact with any version of SQL Server.
    The problem you will run into if you are not controlling the version of SQL Server is in the version of SMO. If you use SMO version 10.5 and need to deploy using SMO to SQL 2012, it will not work. SMO will always be backward compatible but not forward compatible.
    So you would have to have a max version of SQL Server your setup would deploy to in order to control errors and failures. So if you distribute SQL 2012 SMO then the max version would be SQL 2012 for the deploy.
    So using a tool that is version agnostic is the way to go, and you can also use in .NET the System.Data.SqlClient to execute statements against the SQL Server as well. This will be version agnostic too.
    Ben Miller - SQL Server MVP, SQL MCM 2008 - @DBADuck http://www.dbaduck.com

  • Adobe Story Desktop Application Won't Install

    Hi,
    I just recently subscribed to the Adobe Creative Cloud CS6. I'm really interested in owning the Adobe Story desktop application and have attempted to download it by clicking the Install Desktop Application button. Unfortunately, all attempts have failed.
    Upon clicking the Install button, I receive a pop-up explaining that I have to install Adobe Air for Story to work. If I click Yes, the window will then say the installation has failed and will ask to Retry. If I do this, the error repeats. How can I get this error to stop appearing?
    Please note I have the latest version of Adobe Air already installed on my computer.

    Hi CBWriter,
    Adobe Story went paid in May this year and we have now two flavours of Story - Adobe Story Free and Adobe Story Plus. The Desktop application is available to Adobe Story Plus users who value the offline capability of the product. Adobe Story Free users can continue to use the web version of Adobe Story.
      We have upgraded your account to Adobe Story Plus for one day. Please login to Story and download/install the AIR application so that you can access your offline data and take them online.
    Thanks
    Aurobinda

  • Installation Error (7) Adobe Edge Animate - Creative Cloud Desktop Application

    I would greatly appreciate help with this, I have scoured the adobe forumns and google and am unable to find a solution.  I am trying to download Adobe Edge Animate from the creative cloud desktop application (PC) and it gives me this error
    !Installation Failed - Learn More
    When I click on learn more it says
    Installation failed
    Errors encountered during installation.(7)
    More information
    However the more information button does not do anything when clicked.  I have had no problems installing my other application, updates and trials with the creative cloud desktop app. 
    I have ignored this issue for weeks but I have reached the point in a work project where I need to use the program.  The Desktop application is up-to-date and I even tried disabling my firewall/antivirus but it made no difference.
    Few other details:
    I ran the adobe cleaner for CS6 programs before installing the creative cloud. 
    The program fails at 51% Installation.
    Please please please help. Thank you for any information you have and any time you can dedicate to this issue I am having. 

    Thank you Jeff, I followed your directions and may have found the issue yet I do now know how to resolve it.
    Some Background:
    When I first installed the Creative Cloud Desktop Application a couple weeks ago I had my main hard drive partitioned into  C: and  D:. 
    Because of limited space of my C drive I changed the application install directory (in the Desktop App preferences) to D:.  Despite this it was still installing all the programs to the C:/default path. 
    I had posted concerns about this on the forumn after trying restarting and reinstalling yet nothing worked. Despite it listing D: as the install directory it would not install there.
    So finally I just decided to unpartition the drive back to only C:  Prior to the unpartition I was transfering the conents of D to a seperate hard drive and I changed the preferences back to C: in the Desktop app. 
    As I was waiting for the files to transfer I decided to start a trial install (as the transfer was taking a while.)  Pushing me over the line of frustration into amusment it then proceeded to install to my D: drive.  At this point it was just doing the opposite of what I wanted.  Regardless I continued with the unpartition and all the applications I have downloaded installed fine since then to my new larger C drive. 
    When I looked into the error log for the Edge Animate I noticed this
    08/09/13 15:21:39:504 | [INFO] |  | OOBE | DE |  |  |  | 4300 |  - 0 fatal error(s), 1 error(s)
    08/09/13 15:21:39:504 | [INFO] |  | OOBE | DE |  |  |  | 4300 | Win OS version: 6.1.0.0 64 bit Type: 1
    08/09/13 15:21:39:504 | [INFO] |  | OOBE | DE |  |  |  | 4300 |
    08/09/13 15:21:39:504 | [INFO] |  | OOBE | DE |  |  |  | 4300 | ERROR: DW041: INSTALLDIR Volume D:\ doesn't exist.
    08/09/13 15:21:39:504 | [INFO] |  | OOBE | DE |  |  |  | 4300 |
    08/09/13 15:21:39:504 | [INFO] |  | OOBE | DE |  |  |  | 4300 | Please search the above error string(s) to find when the error occurred.
    08/09/13 15:21:39:504 | [INFO] |  | OOBE | DE |  |  |  | 4300 | These errors resulted in installer Exit Code mentioned below.
    08/09/13 15:21:39:504 | [INFO] |  | OOBE | DE |  |  |  | 4300 | -------------------------------------------------------------------------------------
    08/09/13 15:21:39:504 | [INFO] |  | OOBE | DE |  |  |  | 4300 |
    08/09/13 15:21:39:505 | [INFO] |  | OOBE | DE |  |  |  | 4300 | Exit Code: 7 - Unable to complete Silent workflow.
    08/09/13 15:21:39:505 | [INFO] |  | OOBE | DE |  |  |  | 4300 | Please see specific errors for troubleshooting. For example, ERROR: DW041 ...
    This issue just wont leave me alone. 
    As I mentioned before the install directory has been set back to C since before the unpartition and all the other programs have installed fine.  Are there somewhere that secret preferences are stored?  This is all the more unbelievable as I prior to reading your instructions I uninstalled the creative cloud desktop app, ran the adobe cleaner for any pre-CC applications as well as a registry cleaner and reinstalled the Desktop App and tried again.
    Thank you very much for directing me to the reason for the error, can you help me figure out why the CC Desktop App is doing this?

  • Creative Cloud desktop application does not load properly under Windows 8.1

    I'm having a very strange problem with the CC tool too.
    When I open it I just see an empty box with a smaller dialog inside it showing the icon. It won't close and I can't interact with any of the windows. The only way to get rid of it is to kill it via task manager. I've tried the "rename opm.db file" hack and this makes the CC app ask for my Adobe credentials as though its going to work, but then ends up showing the same thing. I've attached a screengrab of what's happening. Windows 8.1 FWIW.

    Branching this to a new discussion.
    NPotter.UK please make sure you are using version 1.2.1.260 or later of the Creative Cloud desktop application.  You can find more details at Creative Cloud desktop missing text | Windows 8.1 - http://helpx.adobe.com/creative-cloud/kb/creative-cloud-desktop-missing-text.html.

  • Named Licence (Trial) must have Creative Cloud Desktop Application with CCP?

    Hi,
    We're using an education agreement for deployment of Adobe desktop applications, and previously, we created a trial or now named license to deploy the applications to our SOE, and then used a license package (after imaging) to licence the software.
    In past versions of CCP the desktop application wasn't forced onto the machine, but it appears that it is now?  How can I prevent this? Our users aren't using the desktop application to sign in, we are using the license package.
    Is there another way to create a trial package (sans desktop app)?
    Regards,
    Glenn.

    Hi Glenn,
    We're moving more and more of the essential shared componentry around activation and named user deployment, as well as software and asset acquisition, into Creative Cloud Desktop app.  Making Creative Cloud Desktop app mandatory allows us to streamline the user experience around login, activation, and service access, as we don't need to replicate this work everywhere.  This will be critical, for example, for CC Libraries, CC Assets, AEM Assets, and other core CC capabilities and their integration with the desktop and mobile tools.
    hence, creative cloud desktop app is mandate for Named license user.
    Thanks,
    Ashish

  • Access to local file system for desktop application

    As a .NET and VBA developer/user, I have found Flash to be a
    great RAD development solution for certain desktop app. projects...
    if only actionscript could access the local file system and talk to
    local (preferably non-XML) data-sources!
    I'm not familiar with the latest version of Flash CS3 &
    Actionscript 3.0
    Is there any reliable way Flash CS3 can be programmed to access
    the user's local file system - that is, as a stand-alone desktop
    application????

    Thanks for the response.
    I hope Adobe catches a clue ... with Microsoft's Windows
    Presentation Framework and the new ability of easily implementing
    Flash-like animation on .NET apps, Adobe is going to have to get
    busy. Stand-alone desktop apps still rule (as opposed to web-based)
    in the business world, and they are driven by data. If Flash was
    capable of easily talking to local data-sources (Access, Excel,
    Text etc.), it could significantly increase its adoption as a
    widely used business RAD tool. The Flash IDE is great and rivals
    any Microsoft RAD IDE + users love the slick Flash GUIs.

  • Palm 130 - Desktop application won't open

    Hi,  I am new to the help forum.  I have had a palm 130 for years and never had trouble until recently.  My palm died, and I got a new one, actually a couple for different family members (from e-bay).  Once the new ones were put on the computer, now the desktop application will not open.  I can still hotsync etc... but the desktop will not open, get message:  failed to open address book database, then you get the choice to send message or not, then all you can do is close down.  Any help would be appricated. 
    Post relates to: Palm m130

    There may be corruption in the database that will not allow you to open Palm desktop.
    Please respond back with these questions answered so we can further assist you.
    OS of your PC? Vista, XP or Mac?
    Using Outlook or Palm Desktop? 
    Version of Palm Desktop?

Maybe you are looking for

  • Update data in view

    I created a view in program unit (procedure). when new form instance I call this and created a block base with this view it has detail block I have one column chk varchar2(1) it is a check box I need when I check this box chk will be 'Y' I mean updat

  • BAPI / FM for payment proposal

    Hi, Can somebody tell me what is the BAPI/FM to Payment Proposal for Vendors only (I am talking interms of F110 transaction as you know there are 2 tasks 1 is payment proposal and the other one is Payment run per my requirement i have to do only Paym

  • Submit by Email - asks "as a link or an attachment"

    Have designed a form in Acrobat that we want our customers to fill out and return to us via email by clicking on a button. We have created a button that has the submit by email function. We have enabled reader rights on the document. However, when we

  • Configure Vendor-Specific Tolerances

    Hi to all I'm tring to set a vendor specific tolerance for the MM invoice verification. I've created a Specific tolerance group for a % value in the percentage upper limit in automatic acceptance of positive difference. I've assigned this group to a

  • Password protecting certain songs

    Is there a way to password protect songs or lets say a speech that you have recorded.  so to be able to play the song you would have to type in a password to hear it or be able to sync it to you ipod or iphone.  The speech was recorded on garage band