Using an external shell script rather than a main class

I've just started to use Creator and I'm like to replace the "Run" function with a call to a shell script. The projects are all libraries (no main class) so the shell script will copy the jar to a another location and perform some other tasks such as starting/stopping services.
I've tried uncommenting the target tag example in the build.xml file but that had no effect.
Any ideas?

I've just started to use Creator and I'm like to replace the "Run" function with a call to a shell script. The projects are all libraries (no main class) so the shell script will copy the jar to a another location and perform some other tasks such as starting/stopping services.
I've tried uncommenting the target tag example in the build.xml file but that had no effect.
Any ideas?

Similar Messages

  • I created a website with iWeb but use GoDady for hosting it rather than MobileMe. The images on my Gallery page do not show at all on the external domain but they DO show when seen on MobileMe. Has anyone encountered this problem before? Many thanks!

    Hello al!
    I created a website with iWeb but use GoDady for hosting it rather than MobileMe. The images on my Gallery page do not show at all on the external domain but they DO show when seen on MobileMe. Has anyone encountered this problem before? Many thanks!

    Just create a new page (or use the existing photo page) on your external site and use html to add an iframe sized to the page and link it to the mobilme gallery page. Works for me just fine when showing my gallery from a yahoo site.
    like this
    <iframe scrolling="off" allowTransparency="true" frameborder="0" scrolling="yes" style="width:100%;height:100%;border:none" src="http://gallery.me.com/your_account_name"></iframe>

  • Calling an external shell script program from ABAP.

    Hi,
      Can i call an external shell script program from abap which is there on application server.
    The FM WS_EXECUTE i know can be used for calling this purpose.
    But i am getting a doubt that how can i call the external program from there.
    Please clear my doubts.
    Thanks in advance.
    Vikash

    search in SCN for sm49 and sm69 Tr. you will surely find solutions for it, with a simple search.

  • How can I store iPhoto files on an external hard drive rather than on the iMac drive

    How can I store my iPhoto library on an external hard drive rather than the iMac drive to make my computer faster?

    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • How can I get the App store to use money in my account rather than a credit card when I want to buy something?

    How can I get the App store to use money in my account rather than a credit card when I want to buy something?

    The iTunes/Mac App Stores use credit on an account first. You are asked to supply an additional payment method when the cash credit doesn't cover the complete cost of the purchase.

  • Schedule workbook using with Unix shell script

    Hi,
    Can we schedule workbook using with Unix shell script?
    Thanks,
    Jay

    I can't imagine how.
    1. You can schedule Disco workbooks via Disco itself.
    2. You can schedule Disco workbooks to run and output in different file formats automatically via batch scheduler in Windows running Disco Desktop directly (or can user VBasic).
    3. You can schedule Disco workbooks to run and output in different file formats automatically via a Java program running the Java Command Line interface.
    Moving forward, Oracle has announced that with a further interfacing of Disco with XML Publisher, you'll be able to use Oracle Apps concurrent manager and scheduling. But that's coming supposedly at the end of this year.
    And I think that's about it.
    Russ

  • I heard some promote use of "Terminal Services(RDS)", rather than App-V application with SCCM 2012 even if you have SCCM licens.

    Hi,
    I heard some promote use of "Terminal Services(RDS)", rather than App-V application with SCCM 2012 even if you have SCCM licens. The reason you dont need to repackage\test the application on an client OS...
    I don't agree and I have not Heard this Before, just that you use TS for some scenario.
    Or is it more likely that "Terminal Services(RDS)", take over the applikation administration?
    /SaiTech

    Surely this all depends on your environment. There's nothing wrong with creating RemoteApps to push to client devices. Maybe you have an environment where RDS is widely used. 
    Why not leverage both solutions and target App-V's at RDS servers and then create App-V based RemoteApps that users can run at home as part of a home working solution via RDWeb.
    Creating apps via RDS will be an admin overhead yes but then so is creating App-V packages in SCCM.
    I don't agree with the arguement re: 'you dont need to repackage\test the application on an client OS...' as
    App-V allows you to run on multple O/S types. 
    To be honest both technologies have their pros and cons. 
    Cheers
    Paul | sccmentor.wordpress.com

  • Calling an external shell-script?

    Hello everybody,
    I only have a short question: How can I easily call an external shell-script in PL/SQL? I need this to make new directories ...
    thx for help

    Re: is ADF free??
    We have a problem when we want to create a portlet base on WebClipping Port
    How to customize login page in 11.5.10.2?

  • Tracking cpu used by a shell script

    Hi,
    We are on oracle 10.2.0.3 on solaris 8. I want to find how much cpu is used by a shell script. The script is having inside it a command to take full database export and create a log file that records when the activity started and ended also also sets up a few variables like sid oracle home etc. how can i find how much cpu is used by this script?
    here is the script I have (after changing a few actual parameters)
    +!/usr/bin/ksh+
    export LOGFILE=db1_fullexport.log
    export MAIL_LOG=/oracle/tmp/exp_mail.log
    export ORACLE_HOME=/u01
    export ORACLE_SID=db1
    export NLS_LANG=AMERICAN_AMERICA.US7ASCII
    export EXP_DIR=/d01
    export DMP_DIR=/d01
    echo "" > $MAIL_LOG
    echo " ********** `date` LOGICAL BACKUP Log for $ORACLE_SID ON `hostname` *********** " > $MAIL_LOG
    echo "" > $LOGFILE
    echo "`date` Starting full export of $ORACLE_SID on `hostname`." >> $LOGFILE
    echo "" >> $LOGFILE
    echo "starting following is the PID of this script" >> $LOGFILE
    echo $$ >> $LOGFILE
    +$ORACLE_HOME/bin/exp dbauser/dbapwd full=y direct=y rows=n file=$DMP_DIR/db1_fullexp.dmp statistics=none log=$DMP_DIR/db1_fullexp.log >> $LOGFILE+
    retstat=$?
    echo "Export Return Status : $retstat " >> $MAIL_LOG
    +if  [ $retstat == 0 ]+
    then
    echo "For `date` on `hostname` and $ORACLE_SID database the logical backups are completed successfully." >> $MAIL_LOG
    else
    echo "Logical backups for `date` on `hostname` and $ORACLE_SID encountered some problems. Check!!!!!" >> $MAIL_LOG
    fi
    I can find the pid of the script but based on it how to find how much cpu it takes?
    Thanks

    Hi,
    how can i find how much cpu is used by this script?I use a vmstat script. The vmstat utility show both user and system CPU and you can snap it at one scond intervals:
    http://www.dba-oracle.com/t_oracle_unix_linux_vmstat_capture.htm
    I have a book by Oracle Press, The Oracle UNIX adminustratun handbook" that you may find useful, and there is aslo a good book "Oracle Shell scripting" that has working examples in the code depot . . .
    Inside Oracle, you can measure historical CPU, but this will not help your immediate goal . . .
    http://www.dba-oracle.com/t_viewing_cpu_ram_io_costs.htm
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • Not enough space on PC for media backup for ios 5.0 upgrade. Can it be config to use external 1T drive, rather than C: drive?

    We have iPhone 4 and 3GS, iTouch and Nano.
    The PC has about 3GB on the C: drive available, and I have an external USB connected 1T drive which is just about empty.
    Can backup / sync functions be changed to use the external drive?
    i-device backups and media files have taken over much of my C: drive space.
    The iTouch upgrade to ios 5 is stopped because the media would be lost due to insufficient C: drive space.  (Requires 3.5GB)

    Move all of your media files to the external hard drive, then delete the information on your C: drive.  Take a look at this link for instructions.  http://support.apple.com/kb/HT1364

  • Ls -l does not show files unless used in a shell script

    Our backup script is generating files called BACKUP.01.04.05 (the 01.04.05 is a generated date). Well the files do not show up when using ls-l at the command line, except for the ones generated in 2000 (e.g. BACKUP.00.01.01). But if I put echo|ls -l in a script then the files do show up in the listing. We are running solaris 2.7. Any ideas? Thanks!

    Hi there,
    The behavior you described sure does not seem to make much sense.
    Is it possible if the 'ls' in your command line is aliased to
    something which might explain the behavior?
    Also, echo|ls -l should not make a difference, I don't think ls takes
    any input from the pipe. I assume that the 'ls' you run from the
    shell script is different than the one you run from your command
    line. The 'which ls' command will show if your ls is aliased.
    Hope this helps.
    Hae
    Sun Technical Developer Support

  • Using a UNIX shell script to run a Java program (packaged in a JAR)

    Hi,
    I have an application (very small) that connects to our database. It needs to run in our UNIX environment so I've been working on a shell script to set the class path and call the JAR file. I'm not making a lot of progress on my own. I've attached the KSH (korn shell script) file code.
    Thanks in advance to anyone who knows how to set the class path and / or call the JAR file.
    loggedinuser="$(whoami)"
    CFG_DIR="`dirname $0`"
    EXIT_STATUS=${SUCCESS}
    export PATH=/opt/java1.3/bin:$PATH
    OLDDIR="`pwd`"
    cd $PLCS_ROOT_DIR
    java -classpath $
    EXIT_STATUS=$?
    cd $OLDDIR
    echo $EXIT_STATUS
    exit $EXIT_STATUS

    Hi,
    I have an application (very small) that connects to
    our database. It needs to run in our UNIX environment
    so I've been working on a shell script to set the
    class path and call the JAR file.
    #!/bin/sh
    exec /your/path/to/java -cp your:class:paths:here -MoreJvmOptionsHere your.package.and.YourClass "$@"Store this is a file of any name, e.g. yuckiduck, and then change the persmissions to executechmod a+x yuckiduckThe exec makes sure the shell used to run the script does not hang around until that java program finishes. While this is only a minor thing, it is nevertheless infinite waste, because it does use some resources but the return on that investment is 0.
    CFG_DIR="`dirname $0`"You would like to fetch the directory of the installation out of $0. This breaks as soon as someone makes a (soft) link in some other directory to this script and calls it by its soft linked name. Your best bet if you don't know a lot of script programming is to hardcode CFG_DIR.
    OLDDIR="`pwd`"
    cd $PLCS_ROOT_DIRVery bad technique in UNIX. UNIX supports the notion of a "current directory". If your user calls this program in a certain directory, you should assume that (s)he does this on purpose. Making your application dependent on a start in a certain directory ignores the very helpful concept of 'current directory' and is therefore a bug.
    cd $OLDDIRThis has no effect at all because it only affects the next two lines of code and nothing else. These two lines, however, don't depend on the current directory. In particular this (as the cd above) does not change the current directory for the interactive shell your user is working in.
    echo $EXIT_STATUS
    exit $EXIT_STATUSEchoing the exit status is an interesting idea, but if you don't do this for a very specific purpose, I recommend not to do this for the simple reason that no other UNIX program does it.
    Harald.

  • How can I use the database default time rather than Java supplied time

    I've searched over and over and nobody seems to have this issue so maybe its just me!
    When inserting a record I would like the a create_date column to automatically use the database time rather than a supplied time via JPA. That was all times a relative to the database which makes sense.
    The trouble is I cant figure out how to do this in a sensible manor.
    If I specify an column like :
         @Temporal(TemporalType.TIMESTAMP)
         @Column(name = "CREATE_DATE")
         private Date createDate;
    and IDL
    CREATE_DATE TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_DATE NOT NULL
    If I leave createDate null I get an exception. If modify the column to allow Nullable then column is set as Null.
    If I leave the column out of the entity bean and then and create a row then the database current time is inserted. The trouble then is that if I want to read the date I'm going to have to create a copy of the bean but with the CREATE_DATE in it, and this doesn't make sense.

    I should also mention that TopLink has always supported the ability to retrieve the current time from the database for use in optimistic locking. The TimestampLockingPolicy offers the ability to configure the next value being retrieved from the database instead of using the local time from the JVM. Our extended optimistic locking configuration does not currently support setting this option but it could be done using a descriptor customizer which can be configured in your persistence unit properties.
    Using optimistic locking may be a good solution for the last modified date since it will also ensure that you do not corrupt the database if someone else has incremented this value since your last read.
    Doug

  • How to make web shortcuts use icon provided by website rather than default

    I'm a new Mac user, and I find it hard to use web shortcuts on my desktop and dock, because when I drag them from my browser to there, they all get the at sign on a spring icon, rather than the default icon provided by the website, which shows up next to the URL in the browser. Is there some setting that will allow it to use and keep that icon when I drag shortcuts?

    rjo98 wrote:
    That's a shame. It's so easy when I use my PC with Internet Explorer, I just drag from IE to the desktop, and it uses that icon by default.
    I guess it could be interpreted as a shame that you can not get the favicon to stick to the desktop, different anyway. As Thomas A Reed suggested above, the link itself can receive a custom icon.
    The advantage of creating a folder is other associated +files, receipts and links+ can be included in the stack with the link itself.
    It is a shame the PC with IE cannot add this functionality, for my purpose anyway.

  • I would like to be able to enter my own page sizes to use in the Book Module, rather than choosing defaults from the drop-down. Is it possible to do this?

    I would like to be able to enter my own page sizes to use in the Book Module (to export to 3rd party printers), rather than choosing defaults from the drop-down. Is it possible to do this?

    No. You are limited to the choices within the Lightroom Book module.

Maybe you are looking for

  • USB Audio Does not work

    Please , I can listen to You Tube & i have picture 7 sound , but I cannott play a DVd or CD I get no sound and in my music folder it plays byt I have No Sound , [Thank you for visiting the HP Support Forums. I am sorry to inform you that your post ha

  • Response.sendRedirect() doesn't work immediately

    Hello, I'm moving my application to JDK 1.4 and IAS 10g. It's alright, but I noticed one problem. For long operation I created my way to display a "Working..." page. I use response.sendRedirect() to an HTML page, with the "Working..." message, that r

  • Video (mov)  in iPhoto 8 library seen in iPhoto 8 but not iMovie 8.

    After installing iLife 08, I can see my photos and videos in iPhoto 08, and the videos (mov from Kodak V570) play fine in QT. However, in iMovie 08, I cannot see all of my videos in the event library (though the manual leads me to believe I should be

  • OSX 10.8.5 Home Folder permissions in AD environment

    So I work in a University environment and traditionally we have been using Windows computers, thus a large AD environment. Recently we have been having Mac OSX computers trickle into the environment and I have been the one tasked with making sure eve

  • COMPRESSOR 3 NOT WORKING, i just get "Unknown time remaining"

    Ok, I'm running on a g5 tower with 10.4.9 OSX, it's a 2x2.66 Dual-Core Intel Xeon with 4 GB 667 Mhx DDR2 FB-DIMM. I just installed FCS 2 last week. I'm converting 24 minute quicktime files to mp2 in compressor. First 5 episodes work great. So then i