Comments (7)
Modified by dietmarw on 11 Dec 2007 14:56 UTC
from modelicastandardlibrary.
Comment by dietmarw on 11 Dec 2007 15:00 UTC
Actually this is not an defect but an enhancement. So I changed that.
from modelicastandardlibrary.
Comment by otter on 11 Dec 2007 15:36 UTC
Good suggestion. Included it (with date and time)
from modelicastandardlibrary.
Comment by otter on 11 Dec 2007 15:37 UTC
Implementation in 2f9cc70, fbfe067
from modelicastandardlibrary.
Comment by dietmarw on 11 Dec 2007 15:55 UTC
There is one flaw I've just noticed. The '$Date$' and '$Rev$' strings are only updated if the file in which the they are present is changed.
So for example if the the subpackage SIunits.mo
was changed but not package.mo
itself the versionBuild
and versionDate
fields won't be updated in package.mo
upon commit.
So perhaps we can't use this nice facility for automatically generating a global revision build number and date.
_ However there is some external method svnversion
available which could perhaps be integrated in the "build" process. See the yellow box in the section Keyword Substitution of the SVN book._
from modelicastandardlibrary.
Comment by dietmarw on 11 Dec 2007 16:05 UTC
Workaround for the above flaw:
Introduce a small change (e.g. white space) in the package.mo
when preparing a build in order to make sure that versionBuild
and versionDate
are up to date.
from modelicastandardlibrary.
Comment by dietmarw on 14 Dec 2007 15:30 UTC
I think we can leave it for now. I'll close it as "works for me".
from modelicastandardlibrary.
Related Issues (20)
- Invalid access of protected elements in SmoothStep example HOT 4
- Wrong usage of quantities in Modelica.Electrical.Analog.Interfaces.IdealSemiconductor HOT 3
- Two redundant arguments C and A in dormqr HOT 4
- Wrong input type in specificEnthalpy_pTX, temperature_phX, and density_phX HOT 5
- Clarify documentation of {CombiTimeTable, CombiTable1Ds, CombiTable1Dv}.smoothness
- Improving assert messages
- FundamentalWavePermabilitySensor is misspelled HOT 2
- SteadyState for Modelica.Blocks.Continuous.PI
- mBasic in functions in Modelica.Electrical.Polyphase.Functions
- MassWithStopAndFriction might be numerically fragile in when statement HOT 6
- Catastrophic cancellation in PadeDelay1 HOT 2
- Unrealistic expectation on size of err_u
- Electronic Switch instead of GtoThyristor HOT 2
- Finding minimum and maximum values over time HOT 4
- Is Modelica.Utilities.Strings.hashString supposed to be tool-independent? HOT 5
- Improvements to the CSV compare tool for zero reference signals. HOT 6
- Completely specify initial conditions for DynamicPipeEnergyConservationCheck and DynamicPipeEnergyConservationCheck2
- ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy uses partial package HOT 2
- Modelica.Magnetic.FluxTubes examples - comment from 4418 HOT 2
- AbsoluteAngles sensor is not flexible enough HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modelicastandardlibrary.