ontomde-uml2-apaCom 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ == 1.0.0 / 2007-10-28
2
+
3
+ * 1 major enhancement
4
+ * Birthday!
5
+
@@ -0,0 +1,7 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.txt
4
+ Rakefile
5
+ lib/ontomde-uml2-apaCom.rb
6
+ lib/ontomde-uml2-apaCom/version.rb
7
+ test/test_ontomde-uml2-apaCom.rb
@@ -0,0 +1,44 @@
1
+ ontomde-uml2-apaCom
2
+ by FIX (your name)
3
+ FIX (url)
4
+
5
+ == DESCRIPTION:
6
+
7
+ FIX (describe your package)
8
+
9
+ == FEATURES/PROBLEMS:
10
+
11
+ * FIX (list of features or problems)
12
+
13
+ == SYNOPSIS:
14
+
15
+ FIX (code sample of usage)
16
+
17
+ == REQUIREMENTS:
18
+
19
+ * FIX (list of requirements)
20
+
21
+ == INSTALL:
22
+
23
+ * FIX (sudo gem install, anything else)
24
+
25
+ Additional information is available on ontoMDE web site :
26
+ http://ontomde.rubyforge.org/website/download.html
27
+ == LICENSE:
28
+
29
+ Copyright (C) 2008 Orange-labs
30
+ 38 rue General Leclerc
31
+ 92130 ISSY LES MOULINEAUX, France
32
+
33
+ This program is free software: you can redistribute it and/or modify
34
+ it under the terms of the GNU Affero General Public License as
35
+ published by the Free Software Foundation, either version 3 of the
36
+ License, or (at your option) any later version.
37
+
38
+ This program is distributed in the hope that it will be useful,
39
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
40
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41
+ GNU Affero General Public License for more details.
42
+
43
+ You should have received a copy of the GNU Affero General Public License
44
+ along with this program. If not, see http://www.gnu.org/licenses/.
@@ -0,0 +1,21 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+ require './lib/ontomde-uml2-apaCom/version.rb'
6
+
7
+ Hoe.new('ontomde-uml2-apaCom', Ontomde::Uml2::Apacom::VERSION) do |p|
8
+ p.rubyforge_name = 'ontomde'
9
+ p.author = 'Stephane (Pierre) Carrie'
10
+ p.email = 'stephanepierre.carrie@orange-ftgroup.com'
11
+ p.summary = 'OntoMDE misc. apache cartridge'
12
+ p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
13
+ p.url="http://ontomde.rubyforge.org"
14
+ p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
15
+ p.extra_deps=[
16
+ ['ontomde-uml2-java',"= #{Ontomde::Uml2::Apacom::VERSION}"]
17
+ ]
18
+ p.spec_extras={ :required_ruby_version => '>=1.8.6' ,:required_rubygems_version => '>=1.0.0'}
19
+ end
20
+
21
+ # vim: syntax=Ruby
@@ -0,0 +1,35 @@
1
+ require 'ontomde-uml2-apaCom/version.rb'
2
+
3
+ module Muml_Class
4
+ def apaCom_addLogger!
5
+ log=umlx_createAndAddProperty(rdf_uri+"log","log");
6
+ log.java_noAccessors="true"
7
+ log.uml_isStatic="true"
8
+ #log.jpa_transient="true"
9
+ log.db_isTransient="true"
10
+ log.java_isTransient="true"
11
+ log.uml_type=umlx_getOrCreateClass("org.apache.commons.logging.Log");
12
+ log.uml_type_one.db_isTransient="true"
13
+
14
+ #log.java_code="org.apache.commons.logging.LogFactory.getFactory().getInstance(this.getClass().getName())"
15
+ log.java_code=%{org.apache.commons.logging.LogFactory.getFactory().getInstance("#{java_qualifiedName}")}
16
+
17
+
18
+ end
19
+ end
20
+
21
+ module Muml_Element
22
+ def java_warn(msg)
23
+ return "if(log.isWarnEnabled()){log.warn(#{msg});}"
24
+ end
25
+ def java_debug(msg)
26
+ return "if(log.isDebugEnabled()){log.debug(#{msg});}"
27
+ end
28
+ def java_error(msg)
29
+ return "if(log.isErrorEnabled()){log.error(#{msg});}"
30
+ end
31
+ def java_info(msg)
32
+ return "if(log.isInfoEnabled()){log.info(#{msg});}"
33
+ end
34
+ end
35
+
@@ -0,0 +1,8 @@
1
+ module Ontomde
2
+ module Uml2
3
+ module Apacom
4
+ VERSION = '1.0.4'
5
+ end
6
+ end
7
+ end
8
+
File without changes
metadata ADDED
@@ -0,0 +1,79 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ontomde-uml2-apaCom
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.4
5
+ platform: ruby
6
+ authors:
7
+ - Stephane (Pierre) Carrie
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-03-03 00:00:00 +01:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: ontomde-uml2-java
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - "="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.4
23
+ version:
24
+ - !ruby/object:Gem::Dependency
25
+ name: hoe
26
+ version_requirement:
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 1.5.0
32
+ version:
33
+ description: "== FEATURES/PROBLEMS: * FIX (list of features or problems) == SYNOPSIS: FIX (code sample of usage) == REQUIREMENTS:"
34
+ email: stephanepierre.carrie@orange-ftgroup.com
35
+ executables: []
36
+
37
+ extensions: []
38
+
39
+ extra_rdoc_files:
40
+ - History.txt
41
+ - Manifest.txt
42
+ - README.txt
43
+ files:
44
+ - History.txt
45
+ - Manifest.txt
46
+ - README.txt
47
+ - Rakefile
48
+ - lib/ontomde-uml2-apaCom.rb
49
+ - lib/ontomde-uml2-apaCom/version.rb
50
+ - test/test_ontomde-uml2-apaCom.rb
51
+ has_rdoc: true
52
+ homepage: http://ontomde.rubyforge.org
53
+ post_install_message:
54
+ rdoc_options:
55
+ - --main
56
+ - README.txt
57
+ require_paths:
58
+ - lib
59
+ required_ruby_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 1.8.6
64
+ version:
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: 1.0.0
70
+ version:
71
+ requirements: []
72
+
73
+ rubyforge_project: ontomde
74
+ rubygems_version: 1.0.1
75
+ signing_key:
76
+ specification_version: 2
77
+ summary: OntoMDE misc. apache cartridge
78
+ test_files:
79
+ - test/test_ontomde-uml2-apaCom.rb