version

Version numbering basics? [closed]

两盒软妹~` 提交于 2019-11-30 10:26:25
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago . Suppose I have a web application with some basic functions. I want to market it. So I would like to assign a version number - something like 0.0.1. What I want to know is are there any constraints that should apply to that numbering system? Hope you understood my question,

What is a good way to handle a version number in a Java application?

与世无争的帅哥 提交于 2019-11-30 10:25:17
问题 I am developing a desktop app using Java and Swing Application Framework. I have an application about box and I'd like to have that box contain some indication of what version is being tested. My preference is for that value to be changed in an automated fashion. I'm using CruiseControl to build the application triggered off the commits to SVN. What mechanism to others use to do this job? Is there an about box version number library or set of ant related tools that I can just drop in place in

How to use multiple versions of Python without uninstallation

时光怂恿深爱的人放手 提交于 2019-11-30 08:50:01
I am faced with a unique situation, slightly trivial but painful. I need to use Python 2.6.6 because NLTK is not ported to Python 3 (that's what I could gather). In a different code(which am working concurrently), there is a collections counter function which is available only in Python 3 but not in Python 2.6.6. So, each time I switch between the two codes, I need to install & uninstall the versions. That's such a waste of time. Any suggestions on how I specify which version I want to use? User Install Python 3 Python 3.3 and higher put a py.exe into the windows folder. [ link ] This

In Lua, is there a function that will tell me what current version I'm running?

£可爱£侵袭症+ 提交于 2019-11-30 08:25:28
Subject says it all. I would like to know if my host interpreter is running Lua 5.2 or 5.1 There is global variable _VERSION (a string): print(_VERSION) -- Output Lua 5.2 UPD : Other methods to distinguish between Lua versions: if _ENV then -- Lua 5.2 else -- Lua 5.1 end UPD2 : --[=[ local version = 'Lua 5.0' --[[]=] local n = '8'; repeat n = n*n until n == n*n local t = {'Lua 5.1', nil, [-1/0] = 'Lua 5.2', [1/0] = 'Lua 5.3', [2] = 'LuaJIT'} local version = t[2] or t[#'\z'] or t[n/'-0'] or 'Lua 5.4' --]] print(version) If you also need the third digit in Lua version (not available in _VERSION

Where to add a version to an XSD schema?

青春壹個敷衍的年華 提交于 2019-11-30 08:17:21
The application I work on has XML output that conforms to an XSD schema. As features are added to the application, the XSD changes and I would like to note the version of the schema in the XSD file. Perhaps I'm missing something, but I haven't found a built-in way to mark the version of the schema. How do you do it? You can use the namespace of your xsd document <xs:schema targetNamespace="http://yourcompany/yourapp/1.0" ... > ... </xs:schema> As an example look at the xsd's defined by w3.org, this is how they do it. Do note that changing the version number here would usually by definition be

Getting runtime version of a Silverlight assembly

隐身守侯 提交于 2019-11-30 07:59:51
I want to show my Silverlight 3 application's version number in the about box, but when I use a traditional .Net call like: Assembly.GetExecutingAssembly().GetName().Version; I get a MethodAccessException on the GetName() call. How am I supposed to get the version number of my assembly? James Campbell private static Version ParseVersionNumber(Assembly assembly) { AssemblyName assemblyName = new AssemblyName(assembly.FullName); return assemblyName.Version; } or this: Assembly assembly = Assembly.GetExecutingAssembly(); String version = assembly.FullName.Split(',')[1]; String fullversion =

How can I display the Build number and/or DateTime of last build in my app?

老子叫甜甜 提交于 2019-11-30 07:57:46
问题 I know that I can do this to get the app's official (release/publish) version number: string version = Assembly.GetExecutingAssembly().GetName().Version.ToString(); this.Text = String.Format("Platypi R Us - version {0}", version); ...but this only shows a "Publish version" of my app* ("1.0.0.0"). I want to show the build number. From the Project | Properties | Publish tab. Barring that, or in addition to that, I'd like to show the date and time of the last build, so that it says "Platypi R Us

How can I confirm what version of Jasmine I'm using?

旧时模样 提交于 2019-11-30 07:50:13
If I recall there is a command in Jasmine that will log the exact version of Jasmine I'm running to the console, but I can't remember what it is. I am positive I have seen this before somewhere, and now that I actually need it I can't find it anywhere. Does anyone know what it is? Edit: The posted solution of using jasmine.getEnv().versionString() isn't working - to any mods reading this, would fixing that issue be better to start as a new question, or continue here? To simply log the version number try: if (jasmine.version) { //the case for version 2.0.0 console.log('jasmine-version:' +

Zend Framework - Install an older version

为君一笑 提交于 2019-11-30 07:41:47
I've already install ZF3. But I'm working in a company that use only ZF2, and I must be able to use Doctrine too. Since the version 3 can't work with doctrine, I have to either downgrade it, or install an older version. But I can't see how to do it since http://framework.zend.com/download/archives does not exist anymore ? I've tried to use composer install and change the composer.json to this: { "name": "zendframework/skeleton-application", "description": "Skeleton Application for ZF2", "license": "BSD-3-Clause", "keywords": [ "framework", "zf2" ], "homepage": "http://framework.zend.com/",

how best to cope with different versions of Android?

谁说我不能喝 提交于 2019-11-30 07:41:07
问题 I have an app that works fine in Android 1.x but not in Android 2.x i need to do things different based on the version of Android the app is running on (querying contacts). is it possible to have two separate methods within the one app that i can choose based on the version of Android the app is running on? many thanks Ed 回答1: Use reflection and class loaders. See this post on the Android developers blog: http://feedproxy.google.com/~r/blogspot/hsDu/~3/9WEwRp2NWlY/how-to-have-your-cupcake-and