[Andromda-user] AndroMDA and UML Tools

2004-09-15 Thread Andrzej Dmoch



Hi All,
 
I'm also interested in the issue raised by 
Peter, i.e. how the UML tools other than MagicDraw are usable with AndroMDA. 
Since we've split up our model into several modules I'm interested wheather the 
model in this form will be read by the tool A, B, C (please instantiate 
Rational Rose for A).
 
Also I'm interested wheather there are conversion 
tools from different tools to the format acceptable by AndroMDA, for instance in 
the form of XSLT.
 
Maybe that's the good subject for the page on the 
tiki. Or maybe something like this already exists. 
 
Regards,
 
AnD
 




[Andromda-user] Hibernate cartridge: Why does it (not) generate these files?

2004-09-15 Thread Matthias Bohlen
Hi Chad,

I am just resuming the maintenance of the Hibernate cartridge. I have
created a sample project using andromdapp:generate. It generated a
project using Hibernate as persistence mechanism. Pretty cool,
although the generated Eclipse project needed some additional
libraries - never mind!

Now, when I start "maven -o" inside that sample project, I get the
following two files generated (among others):

INFO  [AndroMDA:hibernate] Output: 
'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
a/persistence/hibernate/HibernateByteBlobType.java'
INFO  [AndroMDA:hibernate] Output: 
'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
a/persistence/hibernate/HibernateStringClobType.java'

Now, my question is: In the model (contained in mda/src/uml), I cannot
find UML classes for these two Java classes. Why does the Hibernate
cartridge generate them and how does it know to generate them?

Next question: I inserted two <> classes into the model, just
for a test. When I start "maven -o", no code is generated for them. Is
there anything wrong with package naming? Doesn' the Hibernate by
default generate code for all packages?

Cheers...
Matthias

---

Matthias Bohlen
"Consulting that helps project teams to succeed..."

Internet:
   http://www.mbohlen.de/
   [EMAIL PROTECTED]

Phone: +49 (170) 772 8545



























---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] Hibernate cartridge: Why does it (not) generate these files?

2004-09-15 Thread Martin West
Did anyone eyeball my changes for the hibernate inheritance strategy
support?

On Wed, 2004-09-15 at 08:59, Matthias Bohlen wrote:
> Hi Chad,
> 
> I am just resuming the maintenance of the Hibernate cartridge. I have
> created a sample project using andromdapp:generate. It generated a
> project using Hibernate as persistence mechanism. Pretty cool,
> although the generated Eclipse project needed some additional
> libraries - never mind!
> 
> Now, when I start "maven -o" inside that sample project, I get the
> following two files generated (among others):
> 
> INFO  [AndroMDA:hibernate] Output: 
> 'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
> a/persistence/hibernate/HibernateByteBlobType.java'
> INFO  [AndroMDA:hibernate] Output: 
> 'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
> a/persistence/hibernate/HibernateStringClobType.java'
> 
> Now, my question is: In the model (contained in mda/src/uml), I cannot
> find UML classes for these two Java classes. Why does the Hibernate
> cartridge generate them and how does it know to generate them?
> 
> Next question: I inserted two <> classes into the model, just
> for a test. When I start "maven -o", no code is generated for them. Is
> there anything wrong with package naming? Doesn' the Hibernate by
> default generate code for all packages?
> 
> Cheers...
> Matthias
> 
> ---
> 
> Matthias Bohlen
> "Consulting that helps project teams to succeed..."
> 
> Internet:
>http://www.mbohlen.de/
>[EMAIL PROTECTED]
> 
> Phone: +49 (170) 772 8545
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---
> This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
> Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
> Camcorder. More prizes in the weekly Lunch Hour Challenge.
> Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
> ___
> Andromda-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-user
-- 
Martin West
Head of Product Design and Development
http://www.star-map.net
+44(0)207 318 0308
+44(0)787 968 0096


signature.asc
Description: This is a digitally signed message part


[Andromda-user] client package

2004-09-15 Thread Raf Haesen
Hi all

I would like to generate a graphical user interface (based on Java Swing)
on top of the existing hibernate/ejb layer. Therefor i created a new
cartridge that creates the client package. As it uses the functionality
of the hibernate package, i want to import that package. If i add a
dependency in project.xml, the compiler still can't find the package.
How is it done? Do i have to add maven.xml in the UI-subdir?
Another question: the client package contains a class with the main method.
How do i add the Main-Class attibute in the MANIFEST file for the jar package?

Thanks!
Raf


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] Setting up Datatype length & Foreign Keys

2004-09-15 Thread Walter Mourão
You have to create an entry like:

   
datatype.Email 
VARCHAR(50)
  

in your SqlMappings file. You define your sql mapping file using the
sqlMappingsUri namespace property. 

Walter

Katta <[EMAIL PROTECTED]> writes:
>
>If I define a new Datatype 'Email' in Model, where
>should I really map for data-type 'VARCHAR (50)' so
>that I don't get any compile problems and the SQL
>scripts should be generated with VARCHAR(50) ?
>
>I am using Hibernate as persistence and using
>andromda-bin-3.0M3-SNAPSHOT.
>
>Thanks.
>
>
>--- Walter Mourão <[EMAIL PROTECTED]> wrote:
>
>> Hi Katta, comments below:
>> 
>> Katta <[EMAIL PROTECTED]> writes:
>> >I have 2 questions:
>> >
>> >(1) Where can I set the datatype length (such as
>> >VARCHAR (30), etc) as I was just giving 'String' as
>> >the datatype for any Attribute that I have added to
>> >the Entity?
>> You can create all the datatypes you want
>> (ShortDescription,
>> LongDescription, Money, etc.) and use the mappings
>> files  to map the
>> model's datatype to the plataform datatypes
>> (varchar, number, etc.).
>> >
>> >(2) How can I specify foreign-keys? For example,
>> >'Account' should have a foreignkey pointing to
>> >'Customer' primary key. In few use-cases we might
>> be
>> >just accessing 'Account' records and need to fetch
>> >information from related Customer as well.
>> The model's associations will create the needed
>> foreign-keys.
>> >
>> >Thank you.
>> 
>> You're welcome,
>> 
>> Walter
>> 
>>
>---
>> Walter Itamar Mourão - Diretor de Tecnologia e
>> Projetos - Arcadian S/A
>> www.arcadian.com.br
>> 
>> 
>
>
>__
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 




---
Walter Itamar Mourão - Diretor de Tecnologia e Projetos - Arcadian S/A
www.arcadian.com.br



---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] Hibernate cartridge: Why does it (not) generate these files?

2004-09-15 Thread Carlos Cuenca
...yes I did read it, and I think they are great ! :-)
..I had also submit some another changes to implement cascading 
actions...http://team.andromda.org:8080/jira/browse/HIB-12

..another major change that should be done is the one referred to the 
one to one composition and aggregation (as they were done in the EJB 
cartridge...http://team.andromda.org:8080/jira/browse/EJB-4). I wish to 
do it myself, but I am russing for the deadline of a project, so I will 
try to submit to jira after (if it is not done jet...)

Carlos
Martin West wrote:
Did anyone eyeball my changes for the hibernate inheritance strategy
support?
On Wed, 2004-09-15 at 08:59, Matthias Bohlen wrote:
 

Hi Chad,
I am just resuming the maintenance of the Hibernate cartridge. I have
created a sample project using andromdapp:generate. It generated a
project using Hibernate as persistence mechanism. Pretty cool,
although the generated Eclipse project needed some additional
libraries - never mind!
Now, when I start "maven -o" inside that sample project, I get the
following two files generated (among others):
INFO  [AndroMDA:hibernate] Output: 
'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
a/persistence/hibernate/HibernateByteBlobType.java'
INFO  [AndroMDA:hibernate] Output: 
'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
a/persistence/hibernate/HibernateStringClobType.java'
Now, my question is: In the model (contained in mda/src/uml), I cannot
find UML classes for these two Java classes. Why does the Hibernate
cartridge generate them and how does it know to generate them?
Next question: I inserted two <> classes into the model, just
for a test. When I start "maven -o", no code is generated for them. Is
there anything wrong with package naming? Doesn' the Hibernate by
default generate code for all packages?
Cheers...
Matthias
---
Matthias Bohlen
"Consulting that helps project teams to succeed..."
Internet:
  http://www.mbohlen.de/
  [EMAIL PROTECTED]
Phone: +49 (170) 772 8545













---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user
   


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re[2]: [Andromda-user] Hibernate cartridge: Why does it (not) generate these files?

2004-09-15 Thread Matthias Bohlen
Hallo Martin,

Wednesday, September 15, 2004, 10:32:04 AM, you wrote:

MW> Did anyone eyeball my changes for the hibernate inheritance strategy
MW> support?

MW> On Wed, 2004-09-15 at 08:59, Matthias Bohlen wrote:
>> Hi Chad,
>> 
>> I am just resuming the maintenance of the Hibernate cartridge. I have

that's one of the things I was trying to do before I ran into this
problem.

Cheers...
Matthias

---

Matthias Bohlen
"Beratung, die Projekte erfolgreich macht..."

Internet:
   http://www.mbohlen.de/
   [EMAIL PROTECTED]

Post:
   Luise-Albertz-Str. 25
   D-53340 Meckenheim

Tel: 0170 / 772 8545
Fax: 02225 / 945189




---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


RE: [Andromda-user] Hibernate cartridge: Why does it (not) generate these files?

2004-09-15 Thread iamdraftdog
>Now, when I start "maven -o" inside that sample project, I get the
>following two files generated (among others):
>
>INFO  [AndroMDA:hibernate] Output: 
>'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
>a/persistence/hibernate/HibernateByteBlobType.java'
>INFO  [AndroMDA:hibernate] Output: 
>'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
>a/persistence/hibernate/HibernateStringClobType.java'
>
>Now, my question is: In the model (contained in mda/src/uml), I cannot
>find UML classes for these two Java classes. Why does the Hibernate
>cartridge generate them and how does it know to generate them?
>

these classes are created to support mappings for binary types (or very long text 
strings), as it is possible to use those datatypes in the UML model

so these user types are just like resources, copied into your sources; you can ignore 
them if you want

-- Wouter


__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] Hibernate cartridge: Why does it (not) generate these files?

2004-09-15 Thread Martin West
btw, I have previously raised a jira on the hibernate composite
attribute problem
http://team.andromda.org:8080/jira/browse/HIB-10

On Wed, 2004-09-15 at 12:02, Carlos Cuenca wrote:
> ...yes I did read it, and I think they are great ! :-)
> 
> ..I had also submit some another changes to implement cascading 
> actions...http://team.andromda.org:8080/jira/browse/HIB-12
> 
> ..another major change that should be done is the one referred to the 
> one to one composition and aggregation (as they were done in the EJB 
> cartridge...http://team.andromda.org:8080/jira/browse/EJB-4). I wish to 
> do it myself, but I am russing for the deadline of a project, so I will 
> try to submit to jira after (if it is not done jet...)
> 
> Carlos
> 
> Martin West wrote:
> 
> >Did anyone eyeball my changes for the hibernate inheritance strategy
> >support?
> >
> >On Wed, 2004-09-15 at 08:59, Matthias Bohlen wrote:
> >  
> >
> >>Hi Chad,
> >>
> >>I am just resuming the maintenance of the Hibernate cartridge. I have
> >>created a sample project using andromdapp:generate. It generated a
> >>project using Hibernate as persistence mechanism. Pretty cool,
> >>although the generated Eclipse project needed some additional
> >>libraries - never mind!
> >>
> >>Now, when I start "maven -o" inside that sample project, I get the
> >>following two files generated (among others):
> >>
> >>INFO  [AndroMDA:hibernate] Output: 
> >>'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
> >>a/persistence/hibernate/HibernateByteBlobType.java'
> >>INFO  [AndroMDA:hibernate] Output: 
> >>'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
> >>a/persistence/hibernate/HibernateStringClobType.java'
> >>
> >>Now, my question is: In the model (contained in mda/src/uml), I cannot
> >>find UML classes for these two Java classes. Why does the Hibernate
> >>cartridge generate them and how does it know to generate them?
> >>
> >>Next question: I inserted two <> classes into the model, just
> >>for a test. When I start "maven -o", no code is generated for them. Is
> >>there anything wrong with package naming? Doesn' the Hibernate by
> >>default generate code for all packages?
> >>
> >>Cheers...
> >>Matthias
> >>
> >>---
> >>
> >>Matthias Bohlen
> >>"Consulting that helps project teams to succeed..."
> >>
> >>Internet:
> >>   http://www.mbohlen.de/
> >>   [EMAIL PROTECTED]
> >>
> >>Phone: +49 (170) 772 8545
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>---
> >>This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
> >>Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
> >>Camcorder. More prizes in the weekly Lunch Hour Challenge.
> >>Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
> >>___
> >>Andromda-user mailing list
> >>[EMAIL PROTECTED]
> >>https://lists.sourceforge.net/lists/listinfo/andromda-user
> >>
> >>
> 
> 
> 
> ---
> This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
> Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
> Camcorder. More prizes in the weekly Lunch Hour Challenge.
> Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
> ___
> Andromda-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-user
-- 
Martin West
Head of Product Design and Development
http://www.star-map.net
+44(0)207 318 0308
+44(0)787 968 0096


signature.asc
Description: This is a digitally signed message part


[Andromda-user] The logs are appended for template engine on every run.

2004-09-15 Thread Naik, Vikram ( eBiz Mumbai )
Reposting.  did anyone had similar problems of ever growing cartridge log file ?
 
Thanks,
-Vikram.

-Original Message- 
From: Naik, Vikram ( eBiz Mumbai ) 
Sent: Sat 9/11/2004 5:36 PM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: [Andromda-user] The logs are appended for template engine on every 
run.



Hello,

We have built a customized cartridge on andromda-ejb-cartridge-3.0M2. The 
other change we have is, we dont kill the JVM after every run of the generation. We 
have noticed that the log file generated for the template engine, keeps on growing, 
i.e the logs are appended to the file on every run.

Looked at the code of the VelocityTemplateEngine class, the FileAppender added 
to logger is not configured for NOT appending the logs to the file. Wondered if, the 
call to setAppend(false) was missing or is this what is desired?

If we want to change the behaviour of this appender, how to go about ?

Please comment.

Thanks,
Vikram.
[EMAIL PROTECTED]>xDAvz{*ç<+y*y 
ywzjzzßÇ×wgÇxËÚÖËqzØXË~zwXÏËjwg 



Re: [Andromda-user] Hibernate cartridge: Why does it (not) generate these files?

2004-09-15 Thread Chad Brandon
- Original Message - 
From: "Matthias Bohlen" <[EMAIL PROTECTED]>
To: "Chad Brandon" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 1:59 AM
Subject: [Andromda-user] Hibernate cartridge: Why does it (not) generate 
these files?


Hi Chad,
I am just resuming the maintenance of the Hibernate cartridge. I have
created a sample project using andromdapp:generate. It generated a
project using Hibernate as persistence mechanism. Pretty cool,
although the generated Eclipse project needed some additional
libraries - never mind!
Now, when I start "maven -o" inside that sample project, I get the
following two files generated (among others):
INFO  [AndroMDA:hibernate] Output: 
'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
a/persistence/hibernate/HibernateByteBlobType.java'
INFO  [AndroMDA:hibernate] Output: 
'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
a/persistence/hibernate/HibernateStringClobType.java'

Now, my question is: In the model (contained in mda/src/uml), I cannot
find UML classes for these two Java classes. Why does the Hibernate
cartridge generate them and how does it know to generate them?
Next question: I inserted two <> classes into the model, just
for a test. When I start "maven -o", no code is generated for them. Is
there anything wrong with package naming? Doesn' the Hibernate by
default generate code for all packages?
Which model are you talking about?  Yes the hibernate cartridge should pick 
up any model elements with <> stereotypes (unless of course you have 
the package processing set to false).

Cheers...
Matthias
---
Matthias Bohlen
"Consulting that helps project teams to succeed..."
Internet:
  http://www.mbohlen.de/
  [EMAIL PROTECTED]
Phone: +49 (170) 772 8545













---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] The logs are appended for template engine on every run.

2004-09-15 Thread Chad Brandon
Hi Vikram,
Sorry would have responded to your last post however I wasn't sure what you 
were asking since all you had was a subject line.  Anyway yes the logs for 
cartridges do get huge, the cartridge logs are actually handled differently 
from the rest of the andromda logging, and that needs be fixed so that we 
can configure all logs from the log4j.xml..  Can you create an issue for 
this in Jira under CORE?

Thanks,
Chad
- Original Message - 
From: "Naik, Vikram ( eBiz Mumbai )" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 6:18 AM
Subject: [Andromda-user] The logs are appended for template engine on every 
run.


Reposting.  did anyone had similar problems of ever growing cartridge log 
file ?

Thanks,
-Vikram.
-Original Message- 
From: Naik, Vikram ( eBiz Mumbai )
Sent: Sat 9/11/2004 5:36 PM
To: [EMAIL PROTECTED]
Cc:
Subject: [Andromda-user] The logs are appended for template engine on 
every run.


Hello,
We have built a customized cartridge on andromda-ejb-cartridge-3.0M2. The 
other change we have is, we dont kill the JVM after every run of the 
generation. We have noticed that the log file generated for the template 
engine, keeps on growing, i.e the logs are appended to the file on every 
run.

Looked at the code of the VelocityTemplateEngine class, the FileAppender 
added to logger is not configured for NOT appending the logs to the file. 
Wondered if, the call to setAppend(false) was missing or is this what is 
desired?

If we want to change the behaviour of this appender, how to go about ?
Please comment.
Thanks,
Vikram.
[EMAIL PROTECTED]>xDAvz{*ç<+y*y ywzjzzßÇ×wgÇxËÚÖËqzØXË~zwXÏËjwg
NHuz
yDÐjjuz.4yrvuzj~zqzvu 


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


RE: [Andromda-user] The logs are appended for template engine on every run.

2004-09-15 Thread Naik, Vikram ( eBiz Mumbai )
 
Okie dokie, I can create an issue for this in JIRA.
 
Thanks,
Vikram.

-Original Message- 
From: Chad Brandon [mailto:[EMAIL PROTECTED] 
Sent: Wed 9/15/2004 4:07 PM 
To: Naik, Vikram ( eBiz Mumbai ); [EMAIL PROTECTED] 
Cc: 
Subject: Re: [Andromda-user] The logs are appended for template engine on 
every run.



Hi Vikram,

Sorry would have responded to your last post however I wasn't sure what you
were asking since all you had was a subject line.  Anyway yes the logs for
cartridges do get huge, the cartridge logs are actually handled differently
from the rest of the andromda logging, and that needs be fixed so that we
can configure all logs from the log4j.xml..  Can you create an issue for
this in Jira under CORE?

Thanks,

Chad

- Original Message -
From: "Naik, Vikram ( eBiz Mumbai )" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 6:18 AM
Subject: [Andromda-user] The logs are appended for template engine on every
run.


> Reposting.  did anyone had similar problems of ever growing cartridge log
> file ?
>
> Thanks,
> -Vikram.
>
> -Original Message-
> From: Naik, Vikram ( eBiz Mumbai )
> Sent: Sat 9/11/2004 5:36 PM
> To: [EMAIL PROTECTED]
> Cc:
> Subject: [Andromda-user] The logs are appended for template engine on
> every run.
>
>
>
> Hello,
>
> We have built a customized cartridge on andromda-ejb-cartridge-3.0M2. The
> other change we have is, we dont kill the JVM after every run of the
> generation. We have noticed that the log file generated for the template
> engine, keeps on growing, i.e the logs are appended to the file on every
> run.
>
> Looked at the code of the VelocityTemplateEngine class, the FileAppender
> added to logger is not configured for NOT appending the logs to the file.
> Wondered if, the call to setAppend(false) was missing or is this what is
> desired?
>
> If we want to change the behaviour of this appender, how to go about ?
>
> Please comment.
>
> Thanks,
> Vikram.
> [EMAIL PROTECTED]>xDAvz{*ç<+y*y 
ywzjzzßÇ×wgÇxËÚÖËqzØXË~zwXÏËjwg
>
> NHuz
> yDÐjjuz.4yrvuzj~zqzvu




N¬HS^µéX¬²š'²ŠÞu¼­…¬-zÀÊh
¥•éàyYB­§$¶œ¡×Ü"¤¨Ÿ 
ÂDp¸ÐȈ5CŠ­jQÚÜj`š™Ê+uêÌ·©®,Þ)í…ìzIr.éÜz.¬(Z–W§ä{©4åÚý§]¢æåyÉbrIÞ÷%“];ãM¹×]6ëmzæ`'vº&u«¬z¹šŠX§‚X¬´
  ݉jë®X¬¶Ë(º·~Šàzw­†Ûi³ÿåŠËl²‹«qçè®§zßåŠËlþX¬¶)ßö§vº&u«¬z

[Andromda-user] WebService cartridge: custom webserviceclient subproject vs. Axis client generated in web subproject

2004-09-15 Thread Philippe Monnet
I was wondering how most people organize their subprojects when using 
the WebService cartridge.
When looking at the Animal Quiz, the Axis client is being generated 
during the processing of the web subproject and and as such being 
packaged in the .war. This works great in case the web service is only 
called from the web layer.
I was thinking of creating a webserviceclient subproject which would 
handle the generation and creating its own .jar for use by other 
subprojects.
Are other people following a similar approach? What works best for you?


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] WebService cartridge: custom webserviceclient subproject vs. Axis client generated in web subproject

2004-09-15 Thread Chad Brandon
Hi Philippe,
I've usually just included it in the web subproject.  But again if you'll be 
using the client from muliple layers, I think it would make sense to do what 
you've described.

Chad
- Original Message - 
From: "Philippe Monnet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 10:07 AM
Subject: [Andromda-user] WebService cartridge: custom webserviceclient 
subproject vs. Axis client generated in web subproject


I was wondering how most people organize their subprojects when using the 
WebService cartridge.
When looking at the Animal Quiz, the Axis client is being generated during 
the processing of the web subproject and and as such being packaged in the 
.war. This works great in case the web service is only called from the web 
layer.
I was thinking of creating a webserviceclient subproject which would 
handle the generation and creating its own .jar for use by other 
subprojects.
Are other people following a similar approach? What works best for you?


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] Setting up Datatype length & Foreign Keys

2004-09-15 Thread Katta

(1) As I was using 'hibernate' and 'bin' version of
Andromda, I don't see that file in any directory. It
must be in some JAR file, I believe. Which JAR file is
this? Should I change the file there and re-JAR that?
Or is there any better mechanism?

(2) Without changing the files, is there is any that I
can enter few new-user-defined-datatypes such as
'Email', 'Phone', etc. and use that to append
automatically to the system mapping file?

Thank you

--- Walter Mourão <[EMAIL PROTECTED]> wrote:

> You have to create an entry like:
> 
>  
>   datatype.Email 
>   VARCHAR(50)
> 
> 
> in your SqlMappings file. You define your sql
> mapping file using the
> sqlMappingsUri namespace property. 
> 
> Walter
> 
> Katta <[EMAIL PROTECTED]> writes:
> >
> >If I define a new Datatype 'Email' in Model, where
> >should I really map for data-type 'VARCHAR (50)' so
> >that I don't get any compile problems and the SQL
> >scripts should be generated with VARCHAR(50) ?
> >
> >I am using Hibernate as persistence and using
> >andromda-bin-3.0M3-SNAPSHOT.
> >
> >Thanks.
> >
> >
> >--- Walter Mourão <[EMAIL PROTECTED]> wrote:
> >
> >> Hi Katta, comments below:
> >> 
> >> Katta <[EMAIL PROTECTED]> writes:
> >> >I have 2 questions:
> >> >
> >> >(1) Where can I set the datatype length (such as
> >> >VARCHAR (30), etc) as I was just giving 'String'
> as
> >> >the datatype for any Attribute that I have added
> to
> >> >the Entity?
> >> You can create all the datatypes you want
> >> (ShortDescription,
> >> LongDescription, Money, etc.) and use the
> mappings
> >> files  to map the
> >> model's datatype to the plataform datatypes
> >> (varchar, number, etc.).
> >> >
> >> >(2) How can I specify foreign-keys? For example,
> >> >'Account' should have a foreignkey pointing to
> >> >'Customer' primary key. In few use-cases we
> might
> >> be
> >> >just accessing 'Account' records and need to
> fetch
> >> >information from related Customer as well.
> >> The model's associations will create the needed
> >> foreign-keys.
> >> >
> >> >Thank you.
> >> 
> >> You're welcome,
> >> 
> >> Walter
> >> 
> >>
>
>---
> >> Walter Itamar Mourão - Diretor de Tecnologia e
> >> Projetos - Arcadian S/A
> >> www.arcadian.com.br
> >> 
> >> 
> >
> >
> >__
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> >http://mail.yahoo.com 
> 
> 
> 
> 
>
---
> Walter Itamar Mourão - Diretor de Tecnologia e
> Projetos - Arcadian S/A
> www.arcadian.com.br
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] Re: AndroMDA support for TogetherJ (Version 6.2)

2004-09-15 Thread Andrzej Dmoch
Hi Peter,

please try if this one works (didn't test it).

AnD
- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 8:52 AM
Subject: RE: [Andromda-user] Re: AndroMDA support for TogetherJ (Version
6.2)


One thing that I coldn't figure out how to do it automatically is how to
change the XML namespace identifier in Together's XMI output. The write  which is plain
bullsh***, since you have to write . The XSL file contains a transformation that should
perform this change, but it does not work for me. So, you'll have to change
this manually or use some other piece of software to change this
automatically. If someone comes up with a solution for this problem, please
speak up!

Hopefully, we'll see a better XMI support in Together quite soon. I'll keep
you posted.




http://www.w3.org/1999/XSL/Transform";
	xmlns:UML="//org.omg/UML/1.4"
	xmlns:UMLOK="org.omg/UML/1.4"
	version='1.1'>

	

























  

  





Re: [Andromda-user] Setting up Datatype length & Foreign Keys

2004-09-15 Thread Chad Brandon
Since you're using maven, the default mappings are located in the 
maven-andromda-plugin*.jar file.  You can find this plugin in your 
%USERPROFILE%/.maven/repository/andromda/plugins directory.  Unzip this 
plugin and take out any of the mapping files you want and you can then 
customize the mappings and point to those instead of the default ones. 
Check your mda/project.xml of your project, that file tells andromda what 
mapping files to use through the namespace properties.  You just need to 
change the mda/project.xml to point to the mapping files you want to use 
instead.

Chad
- Original Message - 
From: "Katta" <[EMAIL PROTECTED]>
To: "Walter Mourão" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 11:55 AM
Subject: Re: [Andromda-user] Setting up Datatype length & Foreign Keys


(1) As I was using 'hibernate' and 'bin' version of
Andromda, I don't see that file in any directory. It
must be in some JAR file, I believe. Which JAR file is
this? Should I change the file there and re-JAR that?
Or is there any better mechanism?
(2) Without changing the files, is there is any that I
can enter few new-user-defined-datatypes such as
'Email', 'Phone', etc. and use that to append
automatically to the system mapping file?
Thank you
--- Walter Mourão <[EMAIL PROTECTED]> wrote:
You have to create an entry like:

  datatype.Email
  VARCHAR(50)

in your SqlMappings file. You define your sql
mapping file using the
sqlMappingsUri namespace property.
Walter
Katta <[EMAIL PROTECTED]> writes:
>
>If I define a new Datatype 'Email' in Model, where
>should I really map for data-type 'VARCHAR (50)' so
>that I don't get any compile problems and the SQL
>scripts should be generated with VARCHAR(50) ?
>
>I am using Hibernate as persistence and using
>andromda-bin-3.0M3-SNAPSHOT.
>
>Thanks.
>
>
>--- Walter Mourão <[EMAIL PROTECTED]> wrote:
>
>> Hi Katta, comments below:
>>
>> Katta <[EMAIL PROTECTED]> writes:
>> >I have 2 questions:
>> >
>> >(1) Where can I set the datatype length (such as
>> >VARCHAR (30), etc) as I was just giving 'String'
as
>> >the datatype for any Attribute that I have added
to
>> >the Entity?
>> You can create all the datatypes you want
>> (ShortDescription,
>> LongDescription, Money, etc.) and use the
mappings
>> files  to map the
>> model's datatype to the plataform datatypes
>> (varchar, number, etc.).
>> >
>> >(2) How can I specify foreign-keys? For example,
>> >'Account' should have a foreignkey pointing to
>> >'Customer' primary key. In few use-cases we
might
>> be
>> >just accessing 'Account' records and need to
fetch
>> >information from related Customer as well.
>> The model's associations will create the needed
>> foreign-keys.
>> >
>> >Thank you.
>>
>> You're welcome,
>>
>> Walter
>>
>>
---
>> Walter Itamar Mourão - Diretor de Tecnologia e
>> Projetos - Arcadian S/A
>> www.arcadian.com.br
>>
>>
>
>
>__
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam
protection around
>http://mail.yahoo.com


---
Walter Itamar Mourão - Diretor de Tecnologia e
Projetos - Arcadian S/A
www.arcadian.com.br


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


RE: [Andromda-user] Re: AndroMDA support for TogetherJ (Version 6.2)

2004-09-15 Thread peter.friese
No, didn't work. Once again, to make things clear:

The output generated by Together reads something like this:



 
  
   
TogetherSoft
   
   
6.0
   
  
  
 
 
  
   

... and so on...

The correct syntax looks like this:



 
  
   
TogetherSoft
   
   
6.0
   
  
  
 
 
  
   

Please note that the only line changed is the one starting with -Original Message-
>From: Andrzej Dmoch [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 15, 2004 8:09 PM
>To: FRIESE, PETER
>Cc: [EMAIL PROTECTED]
>Subject: Re: [Andromda-user] Re: AndroMDA support for 
>TogetherJ (Version
>6.2)
>
>
>Hi Peter,
>
>please try if this one works (didn't test it).
>
>AnD
>- Original Message - 
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Wednesday, September 15, 2004 8:52 AM
>Subject: RE: [Andromda-user] Re: AndroMDA support for 
>TogetherJ (Version
>6.2)
>
>
>One thing that I coldn't figure out how to do it automatically 
>is how to
>change the XML namespace identifier in Together's XMI output. 
>The write xmi.version = '1.1' xmlns:UML = '//org.omg/UML/1.4'> which is plain
>bullsh***, since you have to write 'org.omg/UML/1.4'>. The XSL file contains a transformation that should
>perform this change, but it does not work for me. So, you'll 
>have to change
>this manually or use some other piece of software to change this
>automatically. If someone comes up with a solution for this 
>problem, please
>speak up!
>
>Hopefully, we'll see a better XMI support in Together quite 
>soon. I'll keep
>you posted.
>
>
>


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] Re: AndroMDA support for TogetherJ (Version 6.2)

2004-09-15 Thread Andrzej Dmoch
Ok,

because once you've written 1.4 and then 1.3. Please exchange 1.4 with 1.3
in all places in the stylesheet and then I hope... Remember also than the
namespace prefix is not ignificant. What counts is the URI.

Regards,

AnD
- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 8:35 PM
Subject: RE: [Andromda-user] Re: AndroMDA support for TogetherJ (Version
6.2)


No, didn't work. Once again, to make things clear:

The output generated by Together reads something like this:



 
  
   
TogetherSoft
   
   
6.0
   
  
  
 
 
  
   

... and so on...

The correct syntax looks like this:



 
  
   
TogetherSoft
   
   
6.0
   
  
  
 
 
  
   

Please note that the only line changed is the one starting with -Original Message-
>From: Andrzej Dmoch [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 15, 2004 8:09 PM
>To: FRIESE, PETER
>Cc: [EMAIL PROTECTED]
>Subject: Re: [Andromda-user] Re: AndroMDA support for
>TogetherJ (Version
>6.2)
>
>
>Hi Peter,
>
>please try if this one works (didn't test it).
>
>AnD
>- Original Message - 
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Wednesday, September 15, 2004 8:52 AM
>Subject: RE: [Andromda-user] Re: AndroMDA support for
>TogetherJ (Version
>6.2)
>
>
>One thing that I coldn't figure out how to do it automatically
>is how to
>change the XML namespace identifier in Together's XMI output.
>The write xmi.version = '1.1' xmlns:UML = '//org.omg/UML/1.4'> which is plain
>bullsh***, since you have to write 'org.omg/UML/1.4'>. The XSL file contains a transformation that should
>perform this change, but it does not work for me. So, you'll
>have to change
>this manually or use some other piece of software to change this
>automatically. If someone comes up with a solution for this
>problem, please
>speak up!
>
>Hopefully, we'll see a better XMI support in Together quite
>soon. I'll keep
>you posted.
>
>
>







---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


[Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Brian Hill
There are many (hundreds) of errors of the form:
WARN  [Namespaces] WARNING! Namespaces 'default' and 'java' have no 
property 'languageMappingsUri' defined --> please define this property 
in AT LEAST ONE of these two namespaces.  If you want to 'ignore' this 
message, add the property to the namespace with ignore set to 'true'
WARN  [Namespaces] WARNING! Namespaces 'default' and 'java' have no 
property 'wrapperMappingsUri' defined --> please define this property in 
AT LEAST ONE of these two namespaces.  If you want to 'ignore' this 
message, add the property to the namespace with ignore set to 'true'

--Brian


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Chad Brandon
What version of 3.x are you using?  Also are you using Maven 1.0 final?
- Original Message - 
From: "Brian Hill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 1:40 PM
Subject: [Andromda-user] freshly generated project generates many namespaces 
errors


There are many (hundreds) of errors of the form:
WARN  [Namespaces] WARNING! Namespaces 'default' and 'java' have no 
property 'languageMappingsUri' defined --> please define this property in 
AT LEAST ONE of these two namespaces.  If you want to 'ignore' this 
message, add the property to the namespace with ignore set to 'true'
WARN  [Namespaces] WARNING! Namespaces 'default' and 'java' have no 
property 'wrapperMappingsUri' defined --> please define this property in 
AT LEAST ONE of these two namespaces.  If you want to 'ignore' this 
message, add the property to the namespace with ignore set to 'true'

--Brian


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user 


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Brian Hill
$ maven --version
says 1.0.
3.0M3 is the AndroMDA build.
The lines before the namespaces errors begin look are:
andromda:run:
   [echo] ++
   [echo] |  R u n n i n gA n d r o M D A  |
   [echo] ++
INFO  [AndroMDA]
INFO  [AndroMDA] A n d r o M D A  -  3.0M3-SNAPSHOT
INFO  [AndroMDA]
INFO  [AndroMDA] Input model --> 'file:c:/Documents and 
Settings/bhill/My Documents/Eclipse Workspace/t4/mda/src/uml/T4Model.xmi'
INFO  [AndroMDA] -- discovering plugins --
INFO  [AndroMDA] found translation-library --> 'validation'
INFO  [AndroMDA] found translation-library --> 'query'
INFO  [AndroMDA] found cartridge --> 'ejb'
INFO  [AndroMDA] found cartridge --> 'java'
INFO  [AndroMDA] found cartridge --> 'bpm4struts'
INFO  [AndroMDA] -- discovering metafacades --
INFO  [AndroMDA] found shared metafacades --> 'uml-1.4' - adding to 
'default' namespace
INFO  [AndroMDA] found metafacades --> 'ejb'
INFO  [AndroMDA] found metafacades --> 'bpm4struts'
INFO  [AndroMDA] Referenced model --> 'jar:file:C:\Documents and 
Settings\bhill\.maven\repository\andromda\xml.zips\andromda-profile-3.0M3-SNAPSHOT.xml.zip!/andromda-profile-3.0M3-SNAPSHOT.xml'
WARN  [Namespaces] WARNING! Namespaces 'default' and 'ejb' have no 
property 'wrapperMappingsUri' defined --> please define this property in 
AT LEAST ONE of these two namespaces.  If you want to 'ignore' this 
message, add the property to the namespace with ignore set to 'true'

I am willing to blow everything away and try again from scratch, 
although I did re-get all the AndroMDA stuff  to get around the "content 
not allowed in prolog" problem.

Each time a project.properties file is needed to start a maven build, I 
have been making sure it has the maven.repo.remote property set.  Maybe 
that is a mistake.

--Brian

---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Chad Brandon
Can you check your $MAVEN_HOME/plugins directory and make sure you don't 
have versions of maven-andromda-plugin*.jar in there?

- Original Message - 
From: "Brian Hill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 2:40 PM
Subject: Re: [Andromda-user] freshly generated project generates many 
namespaces errors


$ maven --version
says 1.0.
3.0M3 is the AndroMDA build.
The lines before the namespaces errors begin look are:
andromda:run:
   [echo] ++
   [echo] |  R u n n i n gA n d r o M D A  |
   [echo] ++
INFO  [AndroMDA]
INFO  [AndroMDA] A n d r o M D A  -  3.0M3-SNAPSHOT
INFO  [AndroMDA]
INFO  [AndroMDA] Input model --> 'file:c:/Documents and Settings/bhill/My 
Documents/Eclipse Workspace/t4/mda/src/uml/T4Model.xmi'
INFO  [AndroMDA] -- discovering plugins --
INFO  [AndroMDA] found translation-library --> 'validation'
INFO  [AndroMDA] found translation-library --> 'query'
INFO  [AndroMDA] found cartridge --> 'ejb'
INFO  [AndroMDA] found cartridge --> 'java'
INFO  [AndroMDA] found cartridge --> 'bpm4struts'
INFO  [AndroMDA] -- discovering metafacades --
INFO  [AndroMDA] found shared metafacades --> 'uml-1.4' - adding to 
'default' namespace
INFO  [AndroMDA] found metafacades --> 'ejb'
INFO  [AndroMDA] found metafacades --> 'bpm4struts'
INFO  [AndroMDA] Referenced model --> 'jar:file:C:\Documents and 
Settings\bhill\.maven\repository\andromda\xml.zips\andromda-profile-3.0M3-SNAPSHOT.xml.zip!/andromda-profile-3.0M3-SNAPSHOT.xml'
WARN  [Namespaces] WARNING! Namespaces 'default' and 'ejb' have no 
property 'wrapperMappingsUri' defined --> please define this property in 
AT LEAST ONE of these two namespaces.  If you want to 'ignore' this 
message, add the property to the namespace with ignore set to 'true'

I am willing to blow everything away and try again from scratch, although 
I did re-get all the AndroMDA stuff  to get around the "content not 
allowed in prolog" problem.

Each time a project.properties file is needed to start a maven build, I 
have been making sure it has the maven.repo.remote property set.  Maybe 
that is a mistake.

--Brian

---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Brian Hill
I deleted and reinstalled everything (Maven including the .maven 
directory, andromdapp plug-in), and generated and built a new project.

After doing this, the $MAVEN_HOME/plugins directory contains:
maven-andromdapp-plugin-3.0M3-SNAPSHOT.jar
The namespaces errors occurred as before.
Are they harmless/harmful?  I'd just like to get a simple 3-tier EJB app 
running.

--Brian

---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Chad Brandon
Thats really strange, it should work fine, it works fine here (and for other 
users as well).  The warnings are harmless in some cases (it depends on 
whats missing). Thats fine that the $MAVEN_HOME/plugins directory has the 
maven-andromdapp-plugin.  Feel free to send me the generated project, I'll 
see if I can duplicate.

Chad
- Original Message - 
From: "Brian Hill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 3:20 PM
Subject: Re: [Andromda-user] freshly generated project generates many 
namespaces errors


I deleted and reinstalled everything (Maven including the .maven directory, 
andromdapp plug-in), and generated and built a new project.

After doing this, the $MAVEN_HOME/plugins directory contains:
maven-andromdapp-plugin-3.0M3-SNAPSHOT.jar
The namespaces errors occurred as before.
Are they harmless/harmful?  I'd just like to get a simple 3-tier EJB app 
running.

--Brian

---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user 


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re[4]: [Andromda-user] Hibernate cartridge: Why does it (not) generate these files?

2004-09-15 Thread Matthias Bohlen
Hi Chad,

Wednesday, September 15, 2004, 4:55:00 PM, you wrote:

CB> Ok just tried it and it worked ok for me, this is the model that was
CB> generated, I created a TestEntity in the model after I called "maven
CB> andromdapp:generate -o".  Can you try out this model and see if it works for
CB> you?  Also can you send me the empty one you're using?

CB> Chad

yes, the cartridge works with this model. I looked what the difference
in my model was - guess what? I had inserted the package below
MagicDraw's predefined "Component View" package which seems not to
work. I moved the package out of "Component View" so that it is now
directly below the model root. Now, it works.

Thanks for your help...
Matthias

P.S.: Wow, my build env works, now. I am able to reproduce bugs and
fix them, now.

---

Matthias Bohlen
"Consulting that helps project teams to succeed..."

Internet:
   http://www.mbohlen.de/
   [EMAIL PROTECTED]

Phone: +49 (170) 772 8545




---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Martin West
I get some of these on 3.0M2 but since they were just warnings I ignored
them.

On Wed, 2004-09-15 at 22:26, Chad Brandon wrote:
> Thats really strange, it should work fine, it works fine here (and for other 
> users as well).  The warnings are harmless in some cases (it depends on 
> whats missing). Thats fine that the $MAVEN_HOME/plugins directory has the 
> maven-andromdapp-plugin.  Feel free to send me the generated project, I'll 
> see if I can duplicate.
> 
> Chad
> 
> - Original Message - 
> From: "Brian Hill" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 15, 2004 3:20 PM
> Subject: Re: [Andromda-user] freshly generated project generates many 
> namespaces errors
> 
> 
> >I deleted and reinstalled everything (Maven including the .maven directory, 
> >andromdapp plug-in), and generated and built a new project.
> >
> > After doing this, the $MAVEN_HOME/plugins directory contains:
> >
> > maven-andromdapp-plugin-3.0M3-SNAPSHOT.jar
> >
> > The namespaces errors occurred as before.
> >
> > Are they harmless/harmful?  I'd just like to get a simple 3-tier EJB app 
> > running.
> >
> > --Brian
> >
> >
> >
> >
> > ---
> > This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
> > Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
> > Camcorder. More prizes in the weekly Lunch Hour Challenge.
> > Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
> > ___
> > Andromda-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/andromda-user
> 
> 
> 
> 
> ---
> This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
> Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
> Camcorder. More prizes in the weekly Lunch Hour Challenge.
> Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
> ___
> Andromda-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-user
-- 
Martin West
Head of Product Design and Development
http://www.star-map.net
+44(0)207 318 0308
+44(0)787 968 0096


signature.asc
Description: This is a digitally signed message part


[Andromda-user] No source files and no packages have been specified

2004-09-15 Thread Martin West
I get this error when nothing is generated into the common area.

BUILD FAILED
/hda6/ews30sm/workspace/StarMapResults/build.xml:15: Following error
occured while executing this line
/hda6/ews30sm/workspace/StarMapResults/common/build.xml:51: No source
files and no packages have been specified.

I have quite figured how to get Ant to skip over this when there are no
java files.

jira?

-- 
Martin West
Head of Product Design and Development
http://www.star-map.net
+44(0)207 318 0308
+44(0)787 968 0096


signature.asc
Description: This is a digitally signed message part


RE: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Wouter Zoons
did you create your project using andromdapp:generate, or did you create it
yourself ? try sending us the project.xml for your mda module

-- Wouter

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Brian
> Hill
> Sent: Wednesday, September 15, 2004 11:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Andromda-user] freshly generated project generates many
> namespaces errors
>
>
> I deleted and reinstalled everything (Maven including the .maven
> directory, andromdapp plug-in), and generated and built a new project.
>
> After doing this, the $MAVEN_HOME/plugins directory contains:
>
> maven-andromdapp-plugin-3.0M3-SNAPSHOT.jar
>
> The namespaces errors occurred as before.
>
> Are they harmless/harmful?  I'd just like to get a simple 3-tier EJB app
> running.
>
> --Brian
>
>
>
>
> ---
> This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
> Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
> Camcorder. More prizes in the weekly Lunch Hour Challenge.
> Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
> ___
> Andromda-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-user



---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


[Andromda-user] Re: No source files and no packages have been specified

2004-09-15 Thread Martin West
PS, a work around is just to define a Temp class with the Enumeration
stereotype.

On Wed, 2004-09-15 at 22:53, Martin West wrote:
> I get this error when nothing is generated into the common area.
> 
> BUILD FAILED
> /hda6/ews30sm/workspace/StarMapResults/build.xml:15: Following error
> occured while executing this line
> /hda6/ews30sm/workspace/StarMapResults/common/build.xml:51: No source
> files and no packages have been specified.
> 
> I have quite figured how to get Ant to skip over this when there are no
> java files.
> 
> jira?
-- 
Martin West
Head of Product Design and Development
http://www.star-map.net
+44(0)207 318 0308
+44(0)787 968 0096


signature.asc
Description: This is a digitally signed message part


Re: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Martin West
My project was generated using the ant task and I use ant to build.

The errors are
[andromda] INFO  [AndroMDA] namespace for 'bpm4struts' cartridge is
either not defined, or has the ignore attribute set to 'true' -->
skipping processing
 [andromda] INFO  [AndroMDA] namespace for 'ejb' cartridge is either not
defined, or has the ignore attribute set to 'true' --> skipping
processing
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and 'meta'
have no property 'facade-logics' defined --> please define this property
in AT LEAST ONE of these two namespaces.  If you want to 'ignore' this
message, add the property to the namespace with ignore set to 'true'
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and 'meta'
have no property 'facade-logic-impls' defined --> please define this
property in AT LEAST ONE of these two namespaces.  If you want to
'ignore' this message, add the property to the namespace with ignore set
to 'true'
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and 'meta'
have no property 'facades' defined --> please define this property in AT
LEAST ONE of these two namespaces.  If you want to 'ignore' this
message, add the property to the namespace with ignore set to 'true'
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and 'meta'
have no property 'facades-to-impls' defined --> please define this
property in AT LEAST ONE of these two namespaces.  If you want to
'ignore' this message, add the property to the namespace with ignore set
to 'true'
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and
'struts' have no property 'forms' defined --> please define this
property in AT LEAST ONE of these two namespaces.  If you want to
'ignore' this message, add the property to the namespace with ignore set
to 'true'
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and
'struts' have no property 'actions' defined --> please define this
property in AT LEAST ONE of these two namespaces.  If you want to
'ignore' this message, add the property to the namespace with ignore set
to 'true'
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and
'struts' have no property 'pages' defined --> please define this
property in AT LEAST ONE of these two namespaces.  If you want to
'ignore' this message, add the property to the namespace with ignore set
to 'true'
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and
'struts' have no property 'config' defined --> please define this
property in AT LEAST ONE of these two namespaces.  If you want to
'ignore' this message, add the property to the namespace with ignore set
to 'true'
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and
'webservice' have no property 'wsdls' defined --> please define this
property in AT LEAST ONE of these two namespaces.  If you want to
'ignore' this message, add the property to the namespace with ignore set
to 'true'
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and
'webservice' have no property 'java-types' defined --> please define
this property in AT LEAST ONE of these two namespaces.  If you want to
'ignore' this message, add the property to the namespace with ignore set
to 'true'
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and
'webservice' have no property 'axis-configuration' defined --> please
define this property in AT LEAST ONE of these two namespaces.  If you
want to 'ignore' this message, add the property to the namespace with
ignore set to 'true'
 [andromda] WARN  [Namespaces] WARNING! Namespaces 'default' and
'webservice' have no property 'axis-configuration' defined --> please
define this property in AT LEAST ONE of these two namespaces.  If you
want to 'ignore' this message, add the property to the namespace with
ignore set to 'true'

On Wed, 2004-09-15 at 22:51, Martin West wrote:
> I get some of these on 3.0M2 but since they were just warnings I ignored
> them.
> 
> On Wed, 2004-09-15 at 22:26, Chad Brandon wrote:
> > Thats really strange, it should work fine, it works fine here (and for other 
> > users as well).  The warnings are harmless in some cases (it depends on 
> > whats missing). Thats fine that the $MAVEN_HOME/plugins directory has the 
> > maven-andromdapp-plugin.  Feel free to send me the generated project, I'll 
> > see if I can duplicate.
> > 
> > Chad
> > 
> > - Original Message - 
> > From: "Brian Hill" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 15, 2004 3:20 PM
> > Subject: Re: [Andromda-user] freshly generated project generates many 
> > namespaces errors
> > 
> > 
> > >I deleted and reinstalled everything (Maven including the .maven directory, 
> > >andromdapp plug-in), and generated and built a new project.
> > >
> > > After doing this, the $MAVEN_HOME/plugins directory contains:
> > >
> > > maven-andromdapp-plugin-3.0M3-SNAPSHOT.jar
> > >
> > > The namespaces errors occurred as before.
> > >
> > > Are they harmless/harmful?  I'd just

Re: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Chad Brandon



Hey Brian,
 
Ok well I know what your problem is, it looks like 
the http://team.andromda.org/maven/andromda/plugins 
directory has an old copy of the maven-andromdapp-plugin instead of the latest, 
this is strange since we build every night and it should be copied to that 
location.  Anyway for now, I'll put a current one out there manually...and 
figure out why it isn't be installed when we build each night.  Please 
re-install the plugin since I just put the new one out there, and then try 
regenerating another app.   Let us know if you still have 
problems.
 
Chad
 
- Original Message - 

  From: 
  Brian 
  Hill 
  To: Chad Brandon 
  Sent: Wednesday, September 15, 2004 3:41 
  PM
  Subject: Re: [Andromda-user] freshly 
  generated project generates many namespaces errors
  Dear Chad,Attached is the freshly generated 
  project.  I ran maven clean on it and then zipped it.  I also 
  double-checked one more time that it produces the same errors (in case maven 
  clean fixed them).  maven clean caused one src directory to be removed 
  that isn't regenerated, but otherwise you'll get the same errors (I 
  think).Since all this stuff might depend subtly on the JDK version, I 
  should add that JAVA_HOME on my system 
  isC:/Applications/Sun/j2sdk1.4.2_03--Brian


RE: [Andromda-user] No source files and no packages have been specified

2004-09-15 Thread Wouter Zoons
is this when the build is running javadoc ?

I thought I fixed this weeks ago, when updating the Ant task ... you are
using the latest snapshot (after M2) ?

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Martin
> West
> Sent: Wednesday, September 15, 2004 11:53 PM
> To: Andromda User
> Subject: [Andromda-user] No source files and no packages have been
> specified
>
>
> I get this error when nothing is generated into the common area.
>
> BUILD FAILED
> /hda6/ews30sm/workspace/StarMapResults/build.xml:15: Following error
> occured while executing this line
> /hda6/ews30sm/workspace/StarMapResults/common/build.xml:51: No source
> files and no packages have been specified.
>
> I have quite figured how to get Ant to skip over this when there are no
> java files.
>
> jira?
>
> --
> Martin West
> Head of Product Design and Development
> http://www.star-map.net
> +44(0)207 318 0308
> +44(0)787 968 0096
>



---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] No source files and no packages have been specified

2004-09-15 Thread Chad Brandon
I think he's using M2.
- Original Message - 
From: "Wouter Zoons" <[EMAIL PROTECTED]>
To: "Martin West" <[EMAIL PROTECTED]>; "Andromda User" 
<[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 4:13 PM
Subject: RE: [Andromda-user] No source files and no packages have been 
specified


is this when the build is running javadoc ?
I thought I fixed this weeks ago, when updating the Ant task ... you are
using the latest snapshot (after M2) ?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Martin
West
Sent: Wednesday, September 15, 2004 11:53 PM
To: Andromda User
Subject: [Andromda-user] No source files and no packages have been
specified
I get this error when nothing is generated into the common area.
BUILD FAILED
/hda6/ews30sm/workspace/StarMapResults/build.xml:15: Following error
occured while executing this line
/hda6/ews30sm/workspace/StarMapResults/common/build.xml:51: No source
files and no packages have been specified.
I have quite figured how to get Ant to skip over this when there are no
java files.
jira?
--
Martin West
Head of Product Design and Development
http://www.star-map.net
+44(0)207 318 0308
+44(0)787 968 0096

---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user 


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


RE: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Wouter Zoons
hi,

I see that the offending property 'wrapperMappingsUri' is not included into
the default namespace when you generate using andromdapp
it is a feature that Chad add not so long ago and I guess the templates were
simply not updated, I will leave it up to Chad to fix it because he knows
how to solve it the best way

adding something like this would work:

   
andromda
  maven-andromda-plugin
 3.0M3-SNAPSHOT
 plugin
 

JavaWrapper

Java
 Hypersonic
 JDBC
 30
 _FK
 


this should make the warning go away (I did not test this, I hope I am right
:-) )


anyway, if you take a look at how we build the samples, for example the
'online-store' and you go see the mda/project.xml you will understand how to
add it

hth
-- Wouter

ps: Chad, can you add this to the templates ? I can't because I am cleaning
my notebook because I have to turn it in tomorrow ...




> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Brian
> Hill
> Sent: Wednesday, September 15, 2004 11:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Andromda-user] freshly generated project generates many
> namespaces errors
>
>
> I deleted and reinstalled everything (Maven including the .maven
> directory, andromdapp plug-in), and generated and built a new project.
>
> After doing this, the $MAVEN_HOME/plugins directory contains:
>
> maven-andromdapp-plugin-3.0M3-SNAPSHOT.jar
>
> The namespaces errors occurred as before.
>
> Are they harmless/harmful?  I'd just like to get a simple 3-tier EJB app
> running.
>
> --Brian
>
>
>
>
> ---
> This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
> Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
> Camcorder. More prizes in the weekly Lunch Hour Challenge.
> Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
> ___
> Andromda-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-user



---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


RE: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Wouter Zoons



yep, 
just doublechecked .. no need to 'fix' the templates ... (sorry, I can't really 
easily read the sources today, using two machines.. backing up etc.. lots of 
processing power to copying and stuff)

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Chad 
  BrandonSent: Thursday, September 16, 2004 12:13 AMTo: 
  Brian HillCc: 
  [EMAIL PROTECTED]Subject: Re: [Andromda-user] 
  freshly generated project generates many namespaces 
errors
  Hey Brian,
   
  Ok well I know what your problem is, it looks 
  like the http://team.andromda.org/maven/andromda/plugins 
  directory has an old copy of the maven-andromdapp-plugin instead of the 
  latest, this is strange since we build every night and it should be copied to 
  that location.  Anyway for now, I'll put a current one out there 
  manually...and figure out why it isn't be installed when we build each 
  night.  Please re-install the plugin since I just put the new one out 
  there, and then try regenerating another app.   Let us know if 
  you still have problems.
   
  Chad
   
  - Original Message - 
  
From: 
Brian 
Hill 
To: Chad Brandon 
Sent: Wednesday, September 15, 2004 
3:41 PM
Subject: Re: [Andromda-user] freshly 
generated project generates many namespaces errors
Dear Chad,Attached is the freshly generated 
project.  I ran maven clean on it and then zipped it.  I also 
double-checked one more time that it produces the same errors (in case maven 
clean fixed them).  maven clean caused one src directory to be removed 
that isn't regenerated, but otherwise you'll get the same errors (I 
think).Since all this stuff might depend subtly on the JDK version, 
I should add that JAVA_HOME on my system 
isC:/Applications/Sun/j2sdk1.4.2_03--Brian


Re: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Chad Brandon
Its actually already there, turns out there was an old 
maven-andromdapp-plugin on the team server, it hadn't been updated since 
august.  I thought all these things were copied during the nightly build?

- Original Message - 
From: "Wouter Zoons" <[EMAIL PROTECTED]>
To: "Brian Hill" <[EMAIL PROTECTED]>; 
<[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 4:25 PM
Subject: RE: [Andromda-user] freshly generated project generates many 
namespaces errors


hi,
I see that the offending property 'wrapperMappingsUri' is not included 
into
the default namespace when you generate using andromdapp
it is a feature that Chad add not so long ago and I guess the templates 
were
simply not updated, I will leave it up to Chad to fix it because he knows
how to solve it the best way

adding something like this would work:
  
   andromda
 maven-andromda-plugin
3.0M3-SNAPSHOT
plugin

JavaWrapper
Java
Hypersonic
JDBC
30
_FK

   
this should make the warning go away (I did not test this, I hope I am 
right
:-) )

anyway, if you take a look at how we build the samples, for example the
'online-store' and you go see the mda/project.xml you will understand how 
to
add it

hth
-- Wouter
ps: Chad, can you add this to the templates ? I can't because I am 
cleaning
my notebook because I have to turn it in tomorrow ...



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brian
Hill
Sent: Wednesday, September 15, 2004 11:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [Andromda-user] freshly generated project generates many
namespaces errors
I deleted and reinstalled everything (Maven including the .maven
directory, andromdapp plug-in), and generated and built a new project.
After doing this, the $MAVEN_HOME/plugins directory contains:
maven-andromdapp-plugin-3.0M3-SNAPSHOT.jar
The namespaces errors occurred as before.
Are they harmless/harmful?  I'd just like to get a simple 3-tier EJB app
running.
--Brian

---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


RE: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Wouter Zoons
with the build process funky's behavior these last days I did not yet put
that in place

but I have it and am planning on committing this weekend (I hope) after I
try it out

-- Wouter

> I thought all these things were copied during the nightly build?



---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Brian Hill
Thank you for investigating.  That definitely fixed it.  --Brian

---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] freshly generated project generates many namespaces errors

2004-09-15 Thread Chad Brandon
Great! Thanks for the update.
- Original Message - 
From: "Brian Hill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 5:00 PM
Subject: Re: [Andromda-user] freshly generated project generates many 
namespaces errors


Thank you for investigating.  That definitely fixed it.  --Brian

---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


[Andromda-user] java.net.MalformedURLException: no protocol: Hypersonic

2004-09-15 Thread Brian Hill
So I added three entity beans and a session bean to my xmi file and 
re-ran maven, and now I get:

Error getting 'sqlMappingsUri' --> 'Hypersonic'
Caused by: java.net.MalformedURLException: no protocol: Hypersonic
Is that unexpected?
Actually, I would like my project to use MySQL, so I changed Hypersonic 
to MySQL and that ended the build even sooner.

--Brian

---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


[Andromda-user] Re: java.net.MalformedURLException: no protocol: Hypersonic

2004-09-15 Thread Brian Hill
Maybe I am supposed to copy these in manually from the .maven/cache 
directory?

Brian Hill wrote:
So I added three entity beans and a session bean to my xmi file and 
re-ran maven, and now I get:

Error getting 'sqlMappingsUri' --> 'Hypersonic'
Caused by: java.net.MalformedURLException: no protocol: Hypersonic
Is that unexpected?
Actually, I would like my project to use MySQL, so I changed 
Hypersonic to MySQL and that ended the build even sooner.

--Brian


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


Re: [Andromda-user] java.net.MalformedURLException: no protocol: Hypersonic

2004-09-15 Thread Chad Brandon
check your mda/project.xml it should have 'HypersonicSql' for the 
sqlTypeMappingsUri.

- Original Message - 
From: "Brian Hill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 6:19 PM
Subject: [Andromda-user] java.net.MalformedURLException: no protocol: 
Hypersonic


So I added three entity beans and a session bean to my xmi file and re-ran 
maven, and now I get:

Error getting 'sqlMappingsUri' --> 'Hypersonic'
Caused by: java.net.MalformedURLException: no protocol: Hypersonic
Is that unexpected?
Actually, I would like my project to use MySQL, so I changed Hypersonic to 
MySQL and that ended the build even sooner.

--Brian

---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user