Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - juxeii

Pages: [1]
1
General Board / Re: Import version controlled packages
« on: October 14, 2011, 08:42:51 pm »
Geert,

many thanks, I will try this.

Juergen.

2
General Board / Import version controlled packages
« on: October 14, 2011, 06:16:17 am »
Hello,

I have a problem with importing already version controlled packages in a new project.
The XMI model files reside inside a folder and they are already checked out by SVN within windows explorer. Now I want them to be imported but I can't do this.
The dialog under Project -> Model Import/Export -> Batch XMI Import does not show any package.
I wonder where one can configure the path for this dialog?!
I also had no luck to import them with Get Package, since after this the imported packages are marked as checked-in and I cannot access them.
Is it really so complicated to import version controlled packages with all subpackages?

Thanks for any hints,
Juergen

3
General Board / C# using directive / Code generation problem
« on: September 16, 2011, 09:02:30 am »
Since this is my first post, I'd like to say a warm hello to you all  :)

I'm new to EA, so I have a lot to learn.
So far I've been doing good, but now I discovered somethin strange regarding the code generation for C#.
Say we have a root package "Interface" marked as namespace root.
A child package of "Interface" is "test" and within "test" we have classes "Order" and "OrderType".
Now, "Order" has an aggregation to "OrderType", this means that "OrderType" is an element of "Order".
Now, see the result of the code generation:
Code: [Select]
using test;
namespace test {
      public class Order {

            public int ID;
            public test.OrderType m_OrderType;

            public Order(){

            }

            ~Order(){

            }

            public virtual void Dispose(){

            }

      }//end Order

}//end namespace test

While this code seems to compile, I don't think it is quite nice.
Why is there a "using test;" line right before the "namespace test" block?
And why would one write "using test;" when in line 6 "public test.OrderType m_OrderType;" the scope test is again written?
I would have expected this line to be "public OrderType m_OrderType;"

Do you have an idea of how to get rid of the "using" statement and the test scope qualifier in line 6?

Thanks in advance and best regards
Juergen

Pages: [1]