Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Exception while building

    Scheduled Pinned Locked Moved Support
    buildmasterant
    14 Posts 1 Posters 16 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      That worked!! Thanks.

      I was able to build with 1 target.

      Now how do I add 2 targets for the build process?

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        You should just be able to separate them with spaces, e.g. in the Build Targets field enter "target1 target2".

        If you want to invoke ant again, just add another Ant action after the first one.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          I added both targets(clean-with-deps, build) in the Build Target -
          clean-with-deps build

          The following error was seen :

          Buildfile: Y:\Projects\ACESIII\deployment\deployment.xml
          BUILD FAILED
          Target "clean-with-deps build" does not exist in the project "aces3-supplier-site-master".
          Total time: 0 seconds
          Execution complete. Finalizing...
          Finalization complete.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            This is in addition to my above reply:

            Build 16 for ACESIII 0.0 (6/19/2013 7:33:31 PM)
            Action Group 2: Build Website
            Action 1: Build Y:\Projects\ACESIII\deployment\deployment.xml Target:clean-with-deps build
            Preparing remote servers for execution...
            Preparing NEETI-ORACLE for execution...
            Preparation complete.
            Initializing action...
            RemoteAction Initialization Complete:
            Temp Directory: Y:\software\BuildMaster_SVCTMP_A3_S4\TMP
            Source Directory: Y:\Projects\ACESIII
            Target Directory: Y:\software\BuildMaster_SVCTMP_A3_S4\WRK
            Server: NEETI-ORACLE (Id: 1)
            Initialization complete. Executing...
            Arguments: -buildfile "Y:\Projects\ACESIII\deployment\deployment.xml" "clean-with-deps build"
            Working Directory: Y:\Projects\ACESIII
            Executing Y:\software\apache-ant-1.9.1\bin\ant.bat
            Buildfile: Y:\Projects\ACESIII\deployment\deployment.xml
            BUILD FAILED
            Target "clean-with-deps build" does not exist in the project "aces3-supplier-site-master".
            Total time: 0 seconds
            Execution complete. Finalizing...
            Finalization complete.

            There is no folder called - aces3-supplier-site-master in Y:\Projects\ACESIII in my system.

            Also, when I build the project on command window using -> ant -f deployment.xml clean-with-deps build
            It is successful.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              In addition to above:

              The aces3-supplier-site-master is the project folder name in deployment.xml -

              "<?xml version="1.0" encoding="UTF-8"?>
              <project name="aces3-supplier-site-master" default="deploy" basedir=".">
              "

              I have the 2 targets - clean-with-deps, build in the file.

              Is there a way to run both targets, instead of running 2 different ant actions for each target respectively?

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                Can you email a screenshot of your Ant action configuration to support at inedo?

                As a workaround, you can use the Execute Command Line action using ant.bat as the executable and the exact arguments you've specified in your command line to get it working quickly.

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  I have emailed the screenshot of ant build action to support@inedo.com

                  Execute Command Line worked.

                  How do I make the Ant build action work?

                  1 Reply Last reply Reply Quote 0
                  • ? This user is from outside of this forum
                    Guest
                    last edited by

                    Thank you for the email, we have fixed the Ant action in the Java extension to allow for multiple build targets.

                    If you update to the latest Java extension from the Extension Gallery, you should be able to enter multiple targets in the Build Target property.

                    1 Reply Last reply Reply Quote 0
                    • ? This user is from outside of this forum
                      Guest
                      last edited by

                      Thanks a lot.

                      After updating the Java Extension, I was able to use Ant build action with 2 targets.

                      1 Reply Last reply Reply Quote 0
                      • ? This user is from outside of this forum
                        Guest
                        last edited by

                        Neat graphic! Apple Passbook epeixlmfies wallet without nfc; Samsung Galaxy Note has nfc to beam files between phones, so it would represent the left. Google is working on the intersection of nfc and wallet, so it is nice Microsoft represents another entry into the nfc wallet category!

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation