Good strategies for building ATG EAR with Maven?

It's been a while since I've looked at this. is there a clean set of choices for building an ATG-based EAR using Maven? Is the best we can do to use the antrun plugin, or is there a cleaner integration with Maven to do this? Is there reasonable documentation someone can point me to that details the strategies?

Yes while using Maven, chances are that we may end up using the Ant task for invoking ATG's runAssembler inside pom to build the EAR. While using the Ant task within Maven helps us accomplishing the task but we tend to loose the power of Maven that way. It would be better if we either use Ant for the whole stuff or just Maven without mixing them.
There is ATG DUST(Dynamo Unit and System Tests) framework for building JUnit tests for ATG applications which uses Maven.
http://atgdust.sourceforge.net/first-test.html
But I think DUST uses Maven just to build the JARs and does not uses ATG's assembler.
I have never tried it but you may want to take a look at this Maven plugin which seems to be capable of generating ATG based EAR.
http://jira.codehaus.org/browse/MOJO-1116
Although it seem to be not updated off late. The plugin page mentions ATG 7.1 while the latest ATG offering is 10.1.1 But I guess it might work with a recent ATG version also (may be with some tweaks) as I don't think there would have been any major changes in the way ATG's runAssembler works and generates ATG EAR.

Similar Messages

  • Recommended Deployment Strategies for Building FlexStack

    I have found the "Recommended deployment strategies for building flexstack"
    These are the important items to consider when deploying FlexStack:
    • It is recommended that the stack master not contain uplinks if it is possible to distribute the uplinks across other stack member
    • When using only two uplinks in a stack of four members, put the uplinks on members that are not directly connected with FlexStack links. Directly connected members are those connected together with FlexStack connections. This is only relevant on FlexStack groups that contain four members.
    – This recommendation is purely for stack bandwidth efficiency. Placing the FlexStack uplinks on directly connected members is less efficient on stack bandwidth. In a four-member stack, with members connected 1-2, 2-3, 3-4, 4-1, put the uplinks on members 2 and 4 or 1 and 3.
    So For a Stack of 4 WS-C2960S If we use two links to create an etherchannel "Recommended deployment strategies for building flexstack" is to use an interface on Switch 2 and another on  Switch 4 for the etherchannel to Core Switch.
    If we want to create an etherchannel of four links, is the recommanded deployment strategies also to use two interfaces on Switch 2 and two interfaces on Switch 4?

    Which activities are taking a long time? The ejbc/appc step? or the boot of the
    server and deployment of all the beans? Makes a difference, because splitting
    up a large number of beans in to multiple JAR files might help with the time it
    takes to create each JAR file but wouldn't help with deployment time.
    I've seen applications with 300+ entity beans, and while it is a little painful
    to run ejbc/appc and deploy the resulting ejb file, it wasn't bad enough to invalidate
    the approach or require multiple files. How long are steps taking now? How many
    beans, and what hardware are you using for the various steps in the process?
    -Greg
    http://www.amazon.com/exec/obidos/ASIN/047128128X/
    "monica" <[email protected]> wrote:
    >
    I am working in a medium project that have in average 200 CMP entity
    beans. Actually,
    we have a mapping between each data base table with a CMP. Every time
    that we
    develop a new functionality the jar grows up and in fact, the deploying
    time grows
    up. This is a big problem if we think that only we had develop the 5%
    of all project
    and it spent much time making building of the jar. I would like to know
    if exist
    an extrategy to control the growth of the jar, for example do not map
    every table
    to an entity to make modules, and make build in independent form, one
    module for
    one group of functionality. The problem is that in this project exist
    a group
    of entities that are common for every functionality, Country, City, User,
    etc..
    This is the only strategy in which we could think but we do not have
    a clear judgement
    to decide which tables must to be mapped, only the ones that are not
    catalogs?.
    If you can guide me about the better form to organize my project or show
    me a
    knowledge base with similars problems I would thank you , very much.
    Thanks in advance,
    Monica A.

  • Where can I find a good tutorial for mobile game developement with J2ME ?

    Hi All,
    I'm completely new to J2ME programming. But I have past experience on J2SE developement. Now I would like to know that where can I find a good tutorial for mobile game developement with J2ME ?
    I'll be very greatful if I can find a useful step-by-step tutorial (eg. "The Java Tutorial" for J2SE)
    Please point me ot the direction.
    Thanks
    ZuriJAckshoT

    ibook-widgets.com    have a free tutorial book in the iBooks store.  Search for "Create your first interactive book using iBooks Author"   they also  sell widgets.
    I  dont have any connection - I  found their eBook in the store long ago  and used it to learn more about iBA.
    The best advice though, is be patient,  go back over the process step by step, I cannot  access the Help files for some reason.. but i am sure its in their.

  • RunAssembler for building Standalone EAR

    I am unable to build Standalone/Packed EAR using the following cmd:
    runAssembler -standalone –server local-store-ps1 MyApp.ear –m MyApp DafEar.Admin
    I am referring ATG Programming Guide where they mentioned the following command -
    runAssembler –standalone –server myServer MyApp.ear –m MyApp DSS

    By using -pack option i am able to build a packed EAR (with development mode).
    I am able to build packed EAR (in standalone mode) by using the following command -
    runAssembler.bat -pack -standalone -server local-store-ps1 MyApp.ear -m MyApp DafEar.Admin
    As per ATG Programming guide, we cannot use -pack and -standalone flags together. How come this is working fine?

  • How to post good receipt for an inbound delivery with HU in the stock?

    Hello,
    We have an inbound delivery of a purchase order with 10 Handling Units inside on.
    The HU's has been put in a storage bin (by transport order + confirmation) before a good receipt has been posted for the whole delivery.
    Due to this it's not possible to post good receipt for the inbound delivery, and the available stock quantity is in minus on zone: '902-GR Area External Rcpts' since  the handling units are already in a storage bin.
    Can anyone help me on this matter?
    Thanks

    Hi,
    my situation is:
    - a WM managed warehouse, society A;
    - a HU managed warehouse (without WM), society B;
    - a purchasing process of HU from society A towards society B.
    Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
    This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
    "V51VP - item was not found - process cancelled".
    Can you help me to transfer these HU?

  • Build SAP EAR with ant

    Hi,
    Im using Netweaver 7.1 DS and want to automate the building of my ejb jar and sap specific ear file.
    I can write the ant script for the ejb jar, but I normally build hte ear by selecting 'Export -> SAP EAR File' in the DS.
    Is there a way to automate this through ant?
    Im not really worried about deploying it through ant, as we will be using JSPM, and I can create the sda's and sca's from the ear files already.
    Is there also a list of all sap related ant tasks?
    Many thanks.
    Regards,
    Andrew

    Hi Andrew,
    i am facing the same problem, would you share your solution?
    thanks in advance,
    Rene

  • Good book for Building a Driver?

    I'm looking for a book that focuses on JDBC from the point of view that will help with building a driver. How about JDBC API Tutorial and Reference, Third Edition? I would just like one that explains the API in a manner that will help understand how to implement the many methods which need to be subclassed for a Connection, Statement, and ResultSet.
    Any ideas on any good books?

    I have vague recollections that one of the mainstream Java book series had a title on JDBC a few years ago that sold itself as being for driver writers rather than users.
    Presumably it was from either O'Reilly, or the Sun Java series from Addison Wesley, but I 've been wracking my brains but can't remember the title. Unfortunately I didn't buy it whichever it was.
    Any idea what I'm talking about? Did it exist, and if so, did it not live up to its backjacket claims? It would have been JDBC 1.0 oriented if it did exist, but if it's still available (even if not in print) it might make a good starting point.
    Hopefully I'm not talking complete rubbish here...
    Dave.

  • Non-valuated Goods Receipt for Purch.Order Item with multiple acct assgnt

    Dears,
    i used multiple account assignment functionality based on percentage for purchase order item and the system forced the goods receipt as "Non-valuated Goods receipt".
    In this way i don't have FI-CO documents at Goods receipt; i got them only at Invoice verification. So i totally lose analysis on account "Invoice to Receive".
    Please, give me some suggestion if you know something in matter.
    Thanks in advance,
    Regards
    Enrico

    It means that i didn't set non-valuated goods receipt.
    The system automatically set the flag if more than one account assignment are used for one purchase order item.
    If happens that just one account asignment is used for one purchase order item then the goods receipt is still valuated.
    i didn't try so far with quantity instead of percentage but, anyway, i need to use percentage.

  • Good Documentation for building a BSC

    Hello,
    does anyone know where to find a more detailed
    Documentation about building a balanced scorecard
    with SEM-BW.
    It should be more concentrated on Measures and
    how the Querys must be defined to be able to be
    used as Keyfigures in the Scorecard, than help.sap.com.
    I'm also interested in good tipps about books.
    Thanks
    Wolfgang

    Hi Wolfgang,
    You could take a look at SAP Press: http://www.sap-press.com/product.cfm?account=&product=H1931
    There you can find a lot of books about this theme.
    Regards,
    Adriano

  • Good News for those of you with discoloration...

    Apple recognizes, will repair discolored MacBooks
    By Kasper Jade
    Published: 11:00 AM EST
    Apple Computer customers who've experienced premature discoloration on the casings of their glossy white MacBooks may finally see some restitution, AppleInsider has been told.
    Click Here!
    In an internal bulletin earlier this week, Apple for the first time acknowledged that a problem exists with some of its white 13-inch MacBook notebooks, where the casings of the computer may inexplicably turn shades of orange after very little usage.
    "Some white MacBook computers may exhibit discoloration on the top case after some use," the company wrote in a note to its retail sector and service partners. "If this issue occurs [...] and the computer meets certain requirements, Apple will cover replacement of the affected parts under warranty."
    In order to be eligible for the extended warranty repair, a customer's MacBook must have a serial number that falls within the range of 4H617XXXXXXXX to 4H627XXXXXXXX. The notebook must be irresponsive to approved cleaning solutions.
    In replacing the top case -- the affected portion of the computer containing the palmrest area -- Apple will also replace the display bezel, people familiar with the repair process say.
    The warranty extension is being made available to MacBook customers in all of Apple's major markets, including the United States, Canada, Europe, Latin America, Asia-Pacific and Japan.
    Customers afflicted by discolored MacBook syndrome should contact an Apple Care support representative by phone (1-800-800-2775 in US) or bring their computer to a local Apple retail store to arrange for diagnosis or repair.
    Widespread reports of discoloration began appearing only weeks after Apple introduced the new Intel-based MacBook notebooks, which are available in both white and black (not affected). Since then, some customers have had success in getting their stained MacBooks replaced or repaired through a variety of avenues, while others have not.
    It's still unclear precisely what causes the discoloration, however speculation on the Web suggests a bad batch of plastics may be to blame.

    Why don't they do the same for the bad logic board? It's obviously an issue; they might as well address it and make it easier for people that don't know why their computer is constantly turning off.

  • Is there any good website for teaching JDBC connection with MySQL

    please give me some reference link..
    it is beacause i'm new in writing java

    Not sure about links but I have been using a really useful book with loads of good examples. That is if u have the cash or u are near a Uni/library
    McCarty, B & Cassady-Dorion L (1999) Java distributed objects: the authoritative solution

  • Best method for building a project with multiple video tracks

    I'm working a project where a client wants some edits made to an existing DVD they had - some video tweaks but mostly menu changes. I'm rebuilding the menus from scratch and I've ripped all the video files from the DVD (there are about 80 of them on one DL-DVD), transcoding them with DV-DVCPRO/NTSC settings.
    The problem is when I import them all as assets into my project build, the DVD disc meter shoots up to about 12 or 13gb. What I've done is added them all to their own separate track, as they're meant to be played not as one continuous video but individual sessions.
    What I'm wondering is if there is a better way to build it that would reduce the amount of space it takes up (I'm rather new at DVD Studio Pro, so I can't tell if I'm going about this the wrong way or not), or if I need to compress the video files or re-transcode them using some other settings (H.264? I'm trying to maintain as much video quality as possible).
    Any help on this would be much appreciated, thanks.

    What is the running time? You should encode to m2v and AC3. Take a look here
    http://dvdstepbystep.com/faqs_7.php

  • Good games for Mac Mini2,1 with OS X 10.6.8?

    Hi everyone!
    I have recently purchased a Mac Mini2,1 off eBay (1.83ghz, about to upgrade to 4GB RAM, OS X 10.6.8 (will soon be getting 10.7)) and I love action, adventure and puzzle games so I was wondering if there is any good games (free or paid) for my Mac Mini? They don't have to be on the App Store - I can use CNET Download etc.
    Thanks guys
    -Felix

    I have no suggestions for game but not that if you update to Lion (10.7) some app may no longer work. See:
    Upgrading to 10.7 and above, don't forget Rosetta!

  • Dual 2.3 G5, good enough for LP8 and rewire with Abe Live ?

    I have a Dual 2.3 G5 which i run with Logic Pro 7 and many plug-ins. There are only a few times when i freeze tracks and knock on wood my system runs really well.
    However i wanna upgrade to Logic Pro 8 and Live 7 and don't want to upgrade my machine until i can afford a Mac Pro 8 Core.
    Will my machine be able to comfortably run Log and Live rewired ?
    Or should i upgrade to an intel iMac for the time being, will that b considerably faster than my G5 ?
    Thanks
    F

    just make sure you have enough ram.
    I'm using Reason and Live 6 with no problems.
    If it's a big orch thing then I have to freeze tracks. Otherwise I'm using a 256k buffer all the time for tracking and mixing. If I start having trouble, then I'll bump up the buffer when mixing.
    It's hard to believe these machines are long in the tooth, but they are.
    I'm on the fence about getting a new machine, since everything is working so well now......but ymmv.
    Logic 8 is tons better than Logic 7.
    that's funny about guava!

  • Strategies for populating drop downs with external data

    Hi,
    I have a couple nice forms that call various array scripts that populate drop down boxes based on a selection.  Everytime I need to update pricing, models, etc... I have to go in and manually edit the array.  I am using just designer - we do not have the server version.
    Is there a better way to do this ranther than edit the array and keep saving version?  I have seen some expamples using anXML file to the form.  This looks like a solution but I am not sure how to do it if this.
    It would be nice to have seperate database that contained my widgets external, update it and then make the connection. 
    Any help would be apprecated!

    This is a similar thread....
    http://forums.adobe.com/message/5538822#5538822
    Maybe this is a taboo subject as it something adobe wants you to buy the server version for...  I see this get asked many times but there never seems to  be a direct answer.
    In an effort to make my question more clear - If i have users out there with a form, and I want to update the form with a nightly updated file, that may contain pricing for example, how can one do this?
    So the core form stays the same, but dropdowns can be populated with external data.
    Thanks in advnace for any all help.

Maybe you are looking for

  • RH7 some pods won't display

    Hi, I am now trying RH7 for 5 days. When I click the menu View > Pods and then each pod, not all display. Only the following display. Others do not come up at all. Any clues? Project Manager Project Setup Single Source Layouts Conditional Build Tags

  • Bean's directory

    Hello, I was recently following this tutorial: http://www.jsptut.com/Forms.jsp when I ran into a problem. In the tutorial it asks me to place the bean's compiled code in the web server's classpath. Does anyone know which directory beans should be pla

  • Bin to Bin transfer(Urgent)

    Hello Guys, I have a question. We have a problem in warehouse and can anyone help me out of this scenario: We have a warehouse, and we perform cycle counting to check the inventory. We want all the bins to hold the same quantity (say 100), if a bin h

  • Improving performance via buffered image

    Hi, I'm new-ish to java2D and have a question on improving the performance of my not massively graphics intensive app. Basically at the moment I do all my drawing by subclassing a JPanel, overriding the paintComponent()method and drawing straight to

  • Do you know how to place "enter by user name" to initial screen of fb03?

    Hello,     When we enter fb03 display finance document, and click "header" button, I can see the "entery by username". But we want the "enter by name" display in the initial screen of fb03.    Is anyone can suggest how to make it? Thanks, Li Jing