Adding xtras in Dir 11.5.9

In previous versions of Director, all I had to do to "install" a new xtra was copy and paste it into the Director application's Xtras folder.  I'm currently attempting to "add" an xtra that way to a project.  Yet, when I click Add, the xtra doesn't show up in the list, even though it is in the Director application's Xtras folder.  Am I missing something?
I have tried just copying and pasting the xtra into the Xtras folder in my project folder.  But the projector can't find it.  This also happens to be an xtra that needs to be included in the projector, and I published the projector with the "Include in Projector" box checked.  Nevertheless, it can't find it.
Thanks for whatever info you can provide.
Dewey

Or, does that error indicate that the xtra simply is not compatible with Lion.  That is my fear.  Apple really threw the Director community a curve when they developed Lion.
If Director still was in the hands of Macromedia, they would have worked closely with Apple, just as they did with Microsoft, to help keep Director compatible with new versions of operating systems.  I have been writing Director programs on both platforms for 18+ years, and have always been able to rely on Macromedia to keep Director in line with new operating system platforms.  That may no long be the case now that Adobe has taken over and is treating Director like an unwanted stepchild.
With a large captive audience, and no direct competition, it just amazes me that a company that size is showing such nonchalance with Director.  The product is there, the market is already in place, the customer base is eager to support ongoing product development by Adobe, the product is certainly priced as a high-end product, they don’t have to do extensive promotion or even advertising.  It’s just “free money” and they are gazing off in another direction as if it is nothing more than a nuisance.  I just don’t get it.
Nevertheless, I fear that a number of tools we have been relying on, such as xtras, as well as Director itself may be have been dealt another blow by Apple.
A statement for Adobe:  “When you buy out a company, you also acquire their customer base.  That comes with a certain responsibility to support them because a customer base is the only thing that keeps a company in business.”
A question for Adobe:  “Director users/developers are a huge part of your customer base.  Who’s going to save us this time?”
Dewey

Similar Messages

  • Content Coversion in Receiver Channel to Windows platform adding xtra space

    I am using SAP's content conversion module, MessageTransformBean, to build a file from a proxy.  If I send the file to a UNIX platform, everything is ok.  If I send the file to a Windows platform, an extra space is added at the end of each line, making the record length 1 character too long.  I changed it to comma delimited, and the extra space was not added.  Is there anything special I need to do when sending to a Windows platform?
    fcc     Transform.Class                                                                                    com.sap.aii.af.sdk.xi.adapter.Conversion
    fcc     Transform.ContentType                                                                                    text/plain;charset=utf-8
    fcc     xml.ZH38CI_BN_US_DELTA_CA_DTL.fieldFixedLengths                          1,9,4,4,1,6,1,8,16,6,6,1,6,6,1,1,3
    fcc     xml.ZH38CI_BN_US_DELTA_CA_DTL.fixedLengthTooShortHandling     Cut
    fcc     xml.ZH38CI_BN_US_DELTA_CA_HDR.fieldFixedLengths                          1,2,4,30,29,10,4
    fcc     xml.ZH38CI_BN_US_DELTA_CA_HDR.fixedLengthTooShortHandling     Cut
    fcc     xml.ZH38CI_BN_US_DELTA_CA_TRL.fieldFixedLengths                          1,8,71
    fcc     xml.ZH38CI_BN_US_DELTA_CA_TRL.fixedLengthTooShortHandling     Cut
    fcc     xml.addHeaderLine                                                                                0
    fcc     xml.conversionType                                                                                StructXML2Plain
    fcc     xml.recordsetStructure                     ZH38CI_BN_US_DELTA_CA_HDR,ZH38CI_BN_US_DELTA_CA_DTL,ZH38CI_BN_US_DELTA_CA_TRL

    I tried moving the module to every possible position, and I could not get it to work for receiver channel.  Maybe I didn't have something correct, but I was able to use this solution in a sender channel.  Thank you for that.  FYI...I was able to get the my receiver channel working with the following parameter for each structure.
    xml.XXXXXXXXXX.endSeparator     '0x0D''0x0A'

  • Adding new class in already created DIR

    I created a DIR and it is in released staus .
    I change the status from released to correction. One class is already added in the DIR. I want to add a new class in that DIR. but the system won't allow me. Message appearing "Multiple classification not allowed"
    Can anyone help?
    Its urgent

    Message appearing "Multiple classification not allowed"
    Propose you setup a Class Hierarchy to meet your requirement.Herein,you would need to create a parent class and assign subordinate classes to it.
    For Eg: Assume you have created classes Class ABC and Class PQR and you need to assign both of these to a Document Type.When you attempt to do this, the system throws up a message  "Multiple classification not allowed". Hence,you need to create another new class Class XYZ and assign both the previously created classes Class ABC and Class PQR to it. (Path:SAP Menu> CA components> Classification S/m > Assignment > Assign objects/Classes to classes)
    Once done,you would have to assign Class XYZ to the required Document Type.This will ensure that the required classes are assigned and reflect in the Document Type.
    Regards,
    Pradeepkumar Haragoldavar

  • Alogorithm to find files added or deleted from a directory since last check

    Does anyone have an alogorithm to find only the files that have been added, deleted or modified under a specified directory since a certain time? My directory structure is several layers deep (ie. I'm not just chicking the files in a single directory)
    The following code is what I have so far - but it contains too many bugs. (for example, it won't find a file inside a directory that has simply been "pasted" into the mother directory). Can anyone help me with it?
    public void checkForNewFiles(File dir, long parentLastModified)
       //Check through all the directories to find added files
        if (dir.isDirectory())
            System.out.println(dir.toString() + "    " + dir.lastModified());
            //get the time the parent file was last modified
            if(dir.lastModified() > parentLastModified)
              parentLastModified = dir.lastModified();
             String[] children = dir.list();
             for (int i=0; i<children.length; i++)
                   checkForNewFiles(new File(dir, children), parentLastModified);
    else
    if(dir.toString().endsWith("xml"))
         //I'm sure this line is the one that is causing the bugs
    //parentLastModified
    if(dir.lastModified() > dirLastChecked || parentLastModified > dirLastChecked)
    //do stuff
         //process the xml file
    Many thanks for any help.

    You'd have to keep a list (or whatever appropriate data structure) of files you last saw, and compare and update it with what you see next time. There isn't any magical algorithm - you write it.

  • [new] webmin(-minimal)

    Heya all,
    since there were quite some requests for this. I made a PKGBUILD for webmin. I have to say ... this wasn't an easy one for me. I choose for webmin-minimal so that peopel can add the modules they want.
    However, when you look at the code, you'll see that it needs improvements ...
    What is done:
    it builds and installs. It creates a new user and group, both called webmin. these groups will be deleted when you uninstall the package (see comments if this is good or bad).
    ~Todo:
    * No SSL can be used ... this is pretty critical I think. There is an SSLeay package in testing I saw, but webmin couldn't find it.
    * I also get an error in the webmin-log that it can find  a/the perl PAM-module ...
    * The web-interface seems to function, but you can't request a proces-list: this is maybe a bug in the program?? Webmin requests "proc/index_.cgi", but that file doesn't exist. The file "proc/index.cgi" exists however.
    * I've written code the generate a random initial password. However, this code doesn't seem to function. For the moment there is a static password ... but I suppose you'll change it when you install webmin. Anyway, Ithink it would be better if the initial one would be a random password. This code belongs in the install-file to my opinion and not in the PKGVUILD like now, but this requires some effort to implement since there is some code for setting up the password in the setup-file.
    * A lot of comments in the code ...
    Now it's time to sleep ... .
    PKGBUILD:
    #Michel Branbants <[email protected]>
    pkgname=webmin
    pkgver=1.170
    pkgrel=1
    pkgdesc="Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, file sharing and so on. Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules."
    url="http://www.webmin.com"
    depends=('perl>=5.0' 'coreutils')
    backup=('etc/webmin/miniserv.conf')
    install=webmin.install
    source=(http://belnet.dl.sourceforge.net/sourceforge/webadmin/$pkgname-$pkgver-minimal.tar.gz
    setup.sh.patch
    copyconfig.pl.patch
    webmin.install)
    md5sums=('a2bc5d04524c52af8955c703179e8af4' '0332a42a04a9c522d483e8d2d61fcee1'
    '72f5472f6b8fedf02cf8222cf962053b' '521d14ee48a8203f3765cadc9fbd9379')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    patch ./setup.sh $startdir/setup.sh.patch
    patch ./copyconfig.pl $startdir/copyconfig.pl.patch
    declare -r local installDir="/usr/share/webmin"
    #configdir must be an absolute path
    declare -r local configDir="/etc/webmin"
    #this is the var_dir-variable
    declare -r local logAndPidDir="/var/webmin"
    #I added 2 new dirs to the setup-script, but I'm not completely sure if I just may add them. And what's var_dir's purpose now?So, for the log and run-files these directories should be used
    declare -r local logDir="/var/log/webmin"
    declare -r local pidDir="/var/run/webmin"
    declare -r local os_type="generic-linux"
    declare -r local os_version="2.6"
    declare -r local real_os_type="Generic Linux"
    declare -r local real_os_version="2.6"
    declare -r local webminServerport="10000"
    #username maybe not contain a ':' or a ' '(a space :)) and may not be "webmin"
    declare -r local adminLoginname="admin"
    #password may not contain a ':'.
    #dit moet eigenlijk in de install-file
    echo "generating initial administrator password ..."
    declare -r local adminpass=$(genPassword 8)
    echo "#The first and last quote of the loginpass-value are only to delimit the password and aren't part of the password!
    initial webmin administrator-account:
    loginname:$adminLoginname
    loginpass:"$adminpass"" > $startdir/SHRED or REMOVE ME-webminAdminAccount
    echo "info written to "SHRED or REMOVE ME-webminAdminAccount""
    #no SSL need SSLeay installed somewhere perl can find it!
    #post-setup-script: (line 735) setup-post.sh
    ./setup.sh "$installDir" "$startdir/pkg" "$configDir" "$logAndPidDir" "$webminServerport" "$adminLoginname" "$adminpass" "$os_type" "$os_version" "$real_os_type" "$real_os_version" "$logDir" "$pidDir"
    echo "administrator-account-info written to "$startdir/SHRED or REMOVE ME-webminAdminAccount""
    #$1 = length of Password. Must be AT LEAST 8 CHARACTERS. Some people will say this is not necessary maybe or not enough. Anyway this password is the initial password.
    genPassword() {
    declare -r local passLength=$1
    if [[ 8 -gt $passLength ]]; then
    #writing to stderr
    echo "password length needs to be at least 8 characters" 1>&2
    return 1
    fi
    declare local pass=$(genRandomString $passLength)
    #the password may not contain ':'.
    #Replace all occurences of ':' with another character. Mayeb first check if there is a problem ...
    #could be endless loop .. but I would suppose it is a random generator ... I try maximum 3 times
    #to avoid an endless loop, else the character 'A' will be chosen to replace ':'
    declare local replacement=':';
    declare -i local iter=1;
    while [[ ':' == $replacement ]] && [[ $iter -le 3 ]]; do
    replacement=`head -c 1 /dev/random`
    iter=$iter+1
    done
    if [[ ':' == $replacement ]]; then
    replacement='A'
    fi
    pass=${pass//:/$replacement}
    echo "$pass"
    return 0
    #$1 = length of string.
    genRandomString() {
    declare -ri local stringLength=$1;
    #/dev/random instead od /dev/urandom will be used for more chance on a good random values.
    #/dev/random can however block if not enough input is available
    declare local string
    read -n $stringLength string < /dev/random
    #echo "$string"
    echo "QueCeraCera"
    webmin.install:
    #Contributor: Michel Brabants <[email protected]>
    # This is a default template for a post-install scriptlet. You can
    # remove any functions you don't need (and this header).
    # arg 1: the new package version
    pre_install() {
    /bin/true
    # arg 1: the new package version
    post_install() {
    declare -r local USER="webmin"
    declare -r local GROUP="webmin"
    #searching for free gid in range of 1-100 : error should be captured : todo
    declare -ri freeGid=$(getFreeGid);
    echo -n "Creating group $GROUP : ";
    if [[ 0 -eq `/usr/sbin/groupadd -g $freeGid $GROUP` ]]; then
    echo " OK";
    else
    echo " FAILED";
    fi
    #searching for free uid in range of 1-1000 : error should be captured : todo
    declare -ri freeUid=$(getFreeUid);
    echo -n "Creating user $USER with primary group $GROUP";
    if [[ 0 -eq `/usr/sbin/useradd -c "user for webmin" -g "$GROUP" -G "$AUDIO_GROUP" -s "/bin/false" -u $freeUid $USER` ]]; then
    echo " OK";
    else
    echo " FAILED;"
    fi
    update_permissions $USER $GROUP;
    # arg 1: the new package version
    # arg 2: the old package version
    pre_upgrade() {
    /bin/true
    # arg 1: the new package version
    # arg 2: the old package version
    post_upgrade() {
    #we don't add the user again ... or should we check if it still exists?
    declare -r local USER="webmin"
    declare -r local GROUP="webmin"
    update_permissions $USER $GROUP;
    # arg 1: the old package version
    pre_remove() {
    /bin/true
    # arg 1: the old package version
    post_remove() {
    rm -rf /var/log/webmin
    rm -rf /var/run/webmin
    declare -r local USER="webmin"
    declare -r local GROUP="webmin"
    #delete the webmin user. Mayeb to tricky? Somebody may be using it already
    #userdel seems to delete the user and the group
    echo -n "Deleting user $USER and group $GROUP: ";
    if [[ 0 -eq `/usr/sbin/userdel $USER` ]]
    then
    echo " OK";
    else
    echo " FAILED";
    fi
    #echo -n "Deleting group $GROUP : ";
    #if [[ 6 -eq `/usr/sbin/groupdel $GROUP` ]]
    #then
    # echo " OK";
    # else
    # echo " FAILED";
    #fi
    # arg 1: username
    # arg 2: groupname
    #would be better if we used the file-list that is in the package?
    update_permissions() {
    declare -r local USER=$1;
    declare -r local GROUP=$2;
    echo "Setting owner:group of webmin-files to $USER:$GROUP and setting permissions ...";
    #change file- and directory-permissions
    chown -R $USER:$GROUP /etc/webmin
    chmod -R o= /etc/webmin
    chown -R $USER:$GROUP /usr/share/webmin
    chmod -R o= /usr/share/webmin
    chown -R $USER:$GROUP /var/log/webmin
    chmod u+s,g+s,o=,o+t /var/log/webmin
    chown -R $USER:$GROUP /var/run/webmin
    chmod u+s,g+s,o=,o+t /var/run/webmin
    echo "Setting owner:group and permissions : DONE"
    #the almighty bash :). You can use functions together with pipes :).
    getFreeUid() {
    echo "$(uidRangeFilter 1 1000 | sort -g | getFreeId 1 1000)";
    getFreeGid() {
    echo "$(gidRangeFilter 1 100 | sort -g | getFreeId 1 100)"
    #give all existing uid's back within the range of $1-$2
    uidRangeFilter() {
    #going into restricted mode
    set -r;
    declare -ri local minId=$1;
    declare -ri local maxId=$2;
    if [[ $maxId -lt $minId ]]; then
    echo "maximum rangebound is smaller than minimum rangebound.";
    echo "command: ./uidRangeFilter minimumBound maximumBound"
    exit 1;
    fi
    #should mayeb check on overflow. Surely since this is a critical file
    #IFS = internal field separator/delimiter
    IFS=:;
    while read name passwd uid theRest; do
    if [[ $uid -ge $minId ]] && [[ $uid -le $maxId ]]; then
    echo "$uid";
    fi;
    done < /etc/passwd;
    #give all existing gid's back within the range of $1-$2
    gidRangeFilter() {
    #going into restricted mode
    set -r;
    declare -ri local minId=$1;
    declare -ri local maxId=$2;
    if [[ $maxId -lt $minId ]]; then
    echo "maximum rangebound is smaller than minimum rangebound.";
    echo "command: ./gidRangeFilter minimumBound maximumBound"
    exit 1;
    fi
    #should mayeb check on overflow. Surely since this is a critical file
    #IFS = internal field separator/delimiter
    IFS=:;
    while read name passwd gid theRest; do
    if [[ $gid -ge $minId ]] && [[ $gid -le $maxId ]]; then
    echo "$gid";
    fi;
    done < /etc/group;
    #find a freeId that is in the range of $1-$2 given that the input-stream contains already occupied id's, sorted from small to big.
    getFreeId() {
    #enter restricted mode
    set -r;
    declare -ri local minId=$1;
    declare -ri local maxId=$2;
    if [[ $maxId -lt $minId ]]; then
    echo "maximum id is smaller than minimum id.";
    echo "command: ./freeId minimumId maximumId"
    exit 1;
    fi;
    declare -i local freeId=$minId;
    #uid's are within the requested range and sorted from small to big
    while read uid; do
    #userId is occupied
    if [[ $freeId -eq $uid ]]; then
    let freeId+=1;
    else
    echo "$freeId";
    return;
    fi;
    done
    if [[ $maxId -ge $freeId ]]; then
    echo "$freeId";
    return;
    fi;
    #no free userId found
    echo "";
    return;
    op=$1
    shift
    $op $*
    setup.sh.patch:
    --- setup.sh 2004-12-03 01:19:35.000000000 +0100
    +++ setup-new.sh 2004-12-03 01:53:42.000000000 +0100
    @@ -32,6 +32,22 @@
    PERLLIB="$PERLLIB:$perllib"
    fi
    +declare -r local DESTDIR=$2;
    +declare -r local config_dir=$3;
    +#what is the purpose for var_dir?
    +declare -r local var_dir=$4;
    +#what is the influence of placing the log- and pid-files in another directory than var_dir?
    +declare -r local os_type=$8;
    +#leaned something new: from $9 paramters need to be surrounded by brackets!!
    +declare -r local os_version=${9};
    +declare -r local real_os_type=${10};
    +declare -r local real_os_version=${11};
    +declare -r local port=$5;
    +declare -r local login=$6;
    +declare -r local password=$7;
    +declare -r local log_dir=${12};
    +declare -r local pid_dir=${13};
    +
    echo "***********************************************************************"
    echo "* Welcome to the Webmin setup script, version $ver *"
    echo "***********************************************************************"
    @@ -40,40 +56,40 @@
    echo ""
    # Only root can run this
    -id | grep "uid=0(" >/dev/null
    -if [ $? != "0" ]; then
    - uname -a | grep -i CYGWIN >/dev/null
    - if [ $? != "0" ]; then
    - echo "ERROR: The Webmin install script must be run as root";
    - echo "";
    - exit 1;
    - fi
    -fi
    +#id | grep "uid=0(" >/dev/null
    +#if [ $? != "0" ]; then
    +# uname -a | grep -i CYGWIN >/dev/null
    +# if [ $? != "0" ]; then
    +# echo "ERROR: The Webmin install script must be run as root";
    +# echo "";
    +# exit 1;
    +# fi
    +#fi
    # Use the supplied destination directory, if any
    if [ "$1" != "" ]; then
    wadir=$1
    - echo "Installing Webmin from $srcdir to $wadir ..."
    - if [ ! -d "$wadir" ]; then
    - mkdir "$wadir"
    + echo "Installing Webmin from $srcdir to $DESTDIR$wadir ..."
    + if [ ! -d "$DESTDIR$wadir" ]; then
    + mkdir -p "$DESTDIR$wadir"
    if [ "$?" != "0" ]; then
    - echo "ERROR: Failed to create $wadir"
    + echo "ERROR: Failed to create $DESTDIR$wadir"
    echo ""
    exit 1
    fi
    else
    # Make sure dest dir is not in use
    - ls "$wadir" | grep -v rpmsave >/dev/null 2>&1
    - if [ "$?" = "0" -a ! -r "$wadir/setup.sh" ]; then
    - echo "ERROR: Installation directory $wadir contains other files"
    + ls "$DESTDIR$wadir" | grep -v rpmsave >/dev/null 2>&1
    + if [ "$?" = "0" -a ! -r "$DESTDIR$wadir/setup.sh" ]; then
    + echo "ERROR: Installation directory $DESTDIR$wadir contains other files"
    echo ""
    exit 1
    fi
    fi
    else
    - echo "Installing Webmin in $wadir ..."
    + echo "Installing Webmin in $DESTDIR$wadir ..."
    fi
    -cd "$wadir"
    +cd "$DESTDIR$wadir"
    # Validate source directory
    allmods=`cd "$srcdir"; echo */module.info | sed -e 's//module.info//g'`
    @@ -108,16 +124,16 @@
    echo ""
    exit 2
    fi
    -if [ ! -d $config_dir ]; then
    - mkdir $config_dir;
    +if [ ! -d $DESTDIR$config_dir ]; then
    + mkdir -p $DESTDIR$config_dir;
    if [ $? != 0 ]; then
    - echo "ERROR: Failed to create directory $config_dir"
    + echo "ERROR: Failed to create directory $DESTDIR$config_dir"
    echo ""
    exit 2
    fi
    fi
    -if [ -r "$config_dir/config" ]; then
    - echo "Found existing Webmin configuration in $config_dir"
    +if [ -r "$DESTDIR$config_dir/config" ]; then
    + echo "Found existing Webmin configuration in $DESTDIR$config_dir"
    echo ""
    upgrading=1
    fi
    @@ -197,9 +213,9 @@
    rm -f $config_dir/module.infos.cache
    else
    # Config directory exists .. make sure it is not in use
    - ls $config_dir | grep -v rpmsave >/dev/null 2>&1
    + ls $DESTDIR$config_dir | grep -v rpmsave >/dev/null 2>&1
    if [ "$?" = "0" -a "$config_dir" != "/etc/webmin" ]; then
    - echo "ERROR: Config directory $config_dir is not empty"
    + echo "ERROR: Config directory $DESTDIR$config_dir is not empty"
    echo ""
    exit 2
    fi
    @@ -223,14 +239,55 @@
    exit ""
    exit 3
    fi
    - if [ ! -d $var_dir ]; then
    - mkdir $var_dir
    + if [ ! -d $DESTDIR$var_dir ]; then
    + mkdir -p $DESTDIR$var_dir
    if [ $? != 0 ]; then
    - echo "ERROR: Failed to create directory $var_dir"
    + echo "ERROR: Failed to create directory $DESTDIR$var_dir"
    echo ""
    exit 3
    fi
    fi
    +
    + abspath=`echo $log_dir | grep "^/"`
    + if [ "$abspath" = "" ]; then
    + echo "Log-file-directory(log_dir) must be an absolute path"
    + echo ""
    + exit 3
    + fi
    + if [ "$log_dir" = "/" ]; then
    + echo "Log directory(log_dir) cannot be /"
    + echo ""
    + exit 3
    + fi
    + if [ ! -d $DESTDIR$log_dir ]; then
    + mkdir -p $DESTDIR$log_dir;
    + if [[ $? != 0 ]]; then
    + echo "ERROR: Failed to create directory $DESTDIR$log_dir"
    + echo ""
    + exit 3
    + fi
    + fi
    +
    + abspath=`echo $pid_dir | grep "^/"`
    + if [ "$abspath" = "" ]; then
    + echo "Pid-file-directory(pid_dir) must be an absolute path"
    + echo ""
    + exit 3
    + fi
    + if [ "$pid_dir" = "/" ]; then
    + echo "Pid directory(pid_dir) cannot be /"
    + echo ""
    + exit 3
    + fi
    + if [ ! -d $DESTDIR$pid_dir ]; then
    + mkdir -p $DESTDIR$pid_dir;
    + if [[ $? != 0 ]]; then
    + echo "ERROR:Failed to create directory $DESTDIR$log_dir"
    + echo ""
    + exit 3
    + fi
    + fi
    +
    echo ""
    # Ask where perl is installed
    @@ -256,7 +313,7 @@
    fi
    else
    printf "Full path to perl (default $perldef): "
    - read perl
    +# read perl
    if [ "$perl" = "" ]; then
    perl=$perldef
    fi
    @@ -386,6 +443,7 @@
    echo ""
    exit 14
    fi
    +
    printf "Login password: "
    if [ "$password" = "" -a "$crypt" = "" ]; then
    stty -echo
    @@ -425,82 +483,84 @@
    fi
    # Ask whether to run at boot time
    - if [ "$atboot" = "" ]; then
    - initsupp=`grep "^os_support=" "$srcdir/init/module.info" | sed -e 's/os_support=//g' | grep $os_type`
    - atboot=0
    - if [ "$initsupp" != "" ]; then
    - printf "Start Webmin at boot time (y/n): "
    - read atbootyn
    - if [ "$atbootyn" = "y" -o "$atbootyn" = "Y" ]; then
    - atboot=1
    - fi
    - else
    - echo "Webmin does not support being started at boot time on your system."
    - fi
    - fi
    + #if [ "$atboot" = "" ]; then
    + # initsupp=`grep "^os_support=" "$srcdir/init/module.info" | sed -e 's/os_support=//g' | grep $os_type`
    + # atboot=0
    + # if [ "$initsupp" != "" ]; then
    + # printf "Start Webmin at boot time (y/n): "
    + # read atbootyn
    + # if [ "$atbootyn" = "y" -o "$atbootyn" = "Y" ]; then
    + # atboot=1
    + # fi
    + # else
    + # echo "Webmin does not support being started at boot time on your system."
    + # fi
    + #fi
    + #user has to decide this for him/herself
    + atboot=0
    makeboot=$atboot
    # Copy files to target directory
    echo "***********************************************************************"
    - if [ "$wadir" != "$srcdir" ]; then
    - echo "Copying files to $wadir .."
    - (cd "$srcdir" ; tar cf - . | (cd "$wadir" ; tar xf -))
    + if [ "$DESTDIR$wadir" != "$srcdir" ]; then
    + echo "Copying files to $DESTDIR$wadir .."
    + (cd "$srcdir" ; tar cf - . | (cd "$DESTDIR$wadir" ; tar xf -))
    echo "..done"
    echo ""
    fi
    # Create webserver config file
    - echo $perl > $config_dir/perl-path
    - echo $var_dir > $config_dir/var-path
    + echo $perl > $DESTDIR$config_dir/perl-path
    + echo $var_dir > $DESTDIR$config_dir/var-path
    echo "Creating web server config files.."
    cfile=$config_dir/miniserv.conf
    - echo "port=$port" >> $cfile
    - echo "root=$wadir" >> $cfile
    - echo "mimetypes=$wadir/mime.types" >> $cfile
    - echo "addtype_cgi=internal/cgi" >> $cfile
    - echo "realm=Webmin Server" >> $cfile
    - echo "logfile=$var_dir/miniserv.log" >> $cfile
    - echo "errorlog=$var_dir/miniserv.error" >> $cfile
    - echo "pidfile=$var_dir/miniserv.pid" >> $cfile
    - echo "logtime=168" >> $cfile
    - echo "ppath=$ppath" >> $cfile
    - echo "ssl=$ssl" >> $cfile
    - echo "env_WEBMIN_CONFIG=$config_dir" >> $cfile
    - echo "env_WEBMIN_VAR=$var_dir" >> $cfile
    - echo "atboot=$atboot" >> $cfile
    - echo "logout=$config_dir/logout-flag" >> $cfile
    - echo "listen=10000" >> $cfile
    - echo "denyfile=\.pl$" >> $cfile
    - echo "log=1" >> $cfile
    - echo "blockhost_failures=5" >> $cfile
    - echo "blockhost_time=60" >> $cfile
    - echo "syslog=1" >> $cfile
    + echo "port=$port" >> $DESTDIR$cfile
    + echo "root=$wadir" >> $DESTDIR$cfile
    + echo "mimetypes=$wadir/mime.types" >> $DESTDIR$cfile
    + echo "addtype_cgi=internal/cgi" >> $DESTDIR$cfile
    + echo "realm=Webmin Server" >> $DESTDIR$cfile
    + echo "logfile=$log_dir/miniserv.log" >> $DESTDIR$cfile
    + echo "errorlog=$log_dir/miniserv.error" >> $DESTDIR$cfile
    + echo "pidfile=$pid_dir/miniserv.pid" >> $DESTDIR$cfile
    + echo "logtime=168" >> $DESTDIR$cfile
    + echo "ppath=$ppath" >> $DESTDIR$cfile
    + echo "ssl=$ssl" >> $DESTDIR$cfile
    + echo "env_WEBMIN_CONFIG=$config_dir" >> $DESTDIR$cfile
    + echo "env_WEBMIN_VAR=$var_dir" >> $DESTDIR$cfile
    + echo "atboot=$atboot" >> $DESTDIR$cfile
    + echo "logout=$config_dir/logout-flag" >> $DESTDIR$cfile
    + echo "listen=10000" >> $DESTDIR$cfile
    + echo "denyfile=\.pl$" >> $DESTDIR$cfile
    + echo "log=1" >> $DESTDIR$cfile
    + echo "blockhost_failures=5" >> $DESTDIR$cfile
    + echo "blockhost_time=60" >> $DESTDIR$cfile
    + echo "syslog=1" >> $DESTDIR$cfile
    if [ "$allow" != "" ]; then
    - echo "allow=$allow" >> $cfile
    + echo "allow=$allow" >> $DESTDIR$cfile
    fi
    if [ "$session" != "" ]; then
    - echo "session=$session" >> $cfile
    + echo "session=$session" >> $DESTDIR$cfile
    else
    - echo "session=1" >> $cfile
    + echo "session=1" >> $DESTDIR$cfile
    fi
    if [ "$pam" != "" ]; then
    - echo "pam=$pam" >> $cfile
    + echo "pam=$pam" >> $DESTDIR$cfile
    fi
    md5pass=`$perl -e 'print crypt("test", "\$1\$A9wB3O18\$zaZgqrEmb9VNltWTL454R/") eq "\$1\$A9wB3O18\$zaZgqrEmb9VNltWTL454R/" ? "1n" : "0n"'`
    ufile=$config_dir/miniserv.users
    if [ "$crypt" != "" ]; then
    - echo "$login:$crypt:0" > $ufile
    + echo "$login:$crypt:0" > $DESTDIR$ufile
    else
    if [ "$md5pass" = "1" ]; then
    - $perl -e 'print "$ARGV[0]:",crypt($ARGV[1], "$1$XXXXXXXX"),":0n"' "$login" "$password" > $ufile
    + $perl -e 'print "$ARGV[0]:",crypt($ARGV[1], "$1$XXXXXXXX"),":0n"' "$login" "$password" > $DESTDIR$ufile
    else
    - $perl -e 'print "$ARGV[0]:",crypt($ARGV[1], "XX"),":0n"' "$login" "$password" > $ufile
    + $perl -e 'print "$ARGV[0]:",crypt($ARGV[1], "XX"),":0n"' "$login" "$password" > $DESTDIR$ufile
    fi
    fi
    - chmod 600 $ufile
    - echo "userfile=$ufile" >> $cfile
    + chmod 600 $DESTDIR$ufile
    + echo "userfile=$ufile" >> $DESTDIR$cfile
    kfile=$config_dir/miniserv.pem
    openssl version >/dev/null 2>&1
    @@ -517,74 +577,74 @@
    root@$host
    EOF
    if [ "$?" = "0" ]; then
    - cat $tempdir/cert $tempdir/key >$kfile
    + cat $tempdir/cert $tempdir/key >$DESTDIR$kfile
    fi
    rm -f $tempdir/cert $tempdir/key
    fi
    if [ ! -r $kfile ]; then
    # Fall back to the built-in key
    - cp "$wadir/miniserv.pem" $kfile
    + cp "$DESTDIR$wadir/miniserv.pem" $DESTDIR$kfile
    fi
    - chmod 600 $kfile
    - echo "keyfile=$config_dir/miniserv.pem" >> $cfile
    + chmod 600 $DESTDIR$kfile
    + echo "keyfile=$config_dir/miniserv.pem" >> $DESTDIR$cfile
    - chmod 600 $cfile
    + chmod 600 $DESTDIR$cfile
    echo "..done"
    echo ""
    echo "Creating access control file.."
    afile=$config_dir/webmin.acl
    - rm -f $afile
    + rm -f $DESTDIR$afile
    if [ "$defaultmods" = "" ]; then
    - echo "$login: $allmods" >> $afile
    + echo "$login: $allmods" >> $DESTDIR$afile
    else
    - echo "$login: $defaultmods" >> $afile
    + echo "$login: $defaultmods" >> $DESTDIR$afile
    fi
    - chmod 600 $afile
    + chmod 600 $DESTDIR$afile
    echo "..done"
    echo ""
    if [ "$login" != "root" -a "$login" != "admin" ]; then
    # Allow use of RPC by this user
    - echo rpc=1 >>$config_dir/$login.acl
    + echo rpc=1 >>$DESTDIR$config_dir/$login.acl
    fi
    fi
    if [ "$noperlpath" = "" ]; then
    echo "Inserting path to perl into scripts.."
    - (find "$wadir" -name '*.cgi' -print ; find "$wadir" -name '*.pl' -print) | $perl "$wadir/perlpath.pl" $perl -
    + (find "$DESTDIR$wadir" -name '*.cgi' -print ; find "$DESTDIR$wadir" -name '*.pl' -print) | $perl "$DESTDIR$wadir/perlpath.pl" $perl -
    echo "..done"
    echo ""
    fi
    echo "Creating start and stop scripts.."
    -rm -f $config_dir/stop $config_dir/start $config_dir/restart
    -echo "#!/bin/sh" >>$config_dir/start
    -echo "echo Starting Webmin server in $wadir" >>$config_dir/start
    -echo "trap '' 1" >>$config_dir/start
    -echo "LANG=" >>$config_dir/start
    -echo "export LANG" >>$config_dir/start
    -echo "#PERLIO=:raw" >>$config_dir/start
    -echo "unset PERLIO" >>$config_dir/start
    -echo "export PERLIO" >>$config_dir/start
    -echo "PERLLIB=$PERLLIB" >>$config_dir/start
    -echo "export PERLLIB" >>$config_dir/start
    +rm -f $DESTDIR$config_dir/stop $DESTDIR$config_dir/start $DESTDIR$config_dir/restart
    +echo "#!/bin/sh" >>$DESTDIR$config_dir/start
    +echo "echo Starting Webmin server in $wadir" >>$DESTDIR$config_dir/start
    +echo "trap '' 1" >>$DESTDIR$config_dir/start
    +echo "LANG=" >>$DESTDIR$config_dir/start
    +echo "export LANG" >>$DESTDIR$config_dir/start
    +echo "#PERLIO=:raw" >>$DESTDIR$config_dir/start
    +echo "unset PERLIO" >>$DESTDIR$config_dir/start
    +echo "export PERLIO" >>$DESTDIR$config_dir/start
    +echo "PERLLIB=$PERLLIB" >>$DESTDIR$config_dir/start
    +echo "export PERLLIB" >>$DESTDIR$config_dir/start
    uname -a | grep -i 'HP/*UX' >/dev/null
    if [ $? = "0" ]; then
    - echo "exec '$wadir/miniserv.pl' $config_dir/miniserv.conf &" >>$config_dir/start
    + echo "exec '$wadir/miniserv.pl' $config_dir/miniserv.conf &" >>$DESTDIR$config_dir/start
    else
    - echo "exec '$wadir/miniserv.pl' $config_dir/miniserv.conf" >>$config_dir/start
    + echo "exec '$wadir/miniserv.pl' $config_dir/miniserv.conf" >>$DESTDIR$config_dir/start
    fi
    -echo "#!/bin/sh" >>$config_dir/stop
    -echo "echo Stopping Webmin server in $wadir" >>$config_dir/stop
    -echo "pidfile=`grep "^pidfile=" $config_dir/miniserv.conf | sed -e 's/pidfile=//g'`" >>$config_dir/stop
    -echo "kill `cat $pidfile`" >>$config_dir/stop
    +echo "#!/bin/sh" >>$DESTDIR$config_dir/stop
    +echo "echo Stopping Webmin server in $wadir" >>$DESTDIR$config_dir/stop
    +echo "pidfile=`grep "^pidfile=" $config_dir/miniserv.conf | sed -e 's/pidfile=//g'`" >>$DESTDIR$config_dir/stop
    +echo "kill `cat $pidfile`" >>$DESTDIR$config_dir/stop
    -echo "#!/bin/sh" >>$config_dir/restart
    -echo "$config_dir/stop && $config_dir/start" >>$config_dir/restart
    +echo "#!/bin/sh" >>$DESTDIR$config_dir/restart
    +echo "$config_dir/stop && $config_dir/start" >>$DESTDIR$config_dir/restart
    -chmod 755 $config_dir/start $config_dir/stop
    +chmod 755 $DESTDIR$config_dir/start $DESTDIR$config_dir/stop
    echo "..done"
    echo ""
    @@ -593,13 +653,13 @@
    else
    echo "Copying config files.."
    fi
    -$perl "$wadir/copyconfig.pl" "$os_type" "$os_version" "$wadir" $config_dir "" $allmods
    +$perl "$DESTDIR$wadir/copyconfig.pl" "$os_type" "$os_version" "$wadir" $config_dir "$DESTDIR" "" $allmods
    if [ "$upgrading" != 1 ]; then
    # Store the OS and version
    - echo "os_type=$os_type" >> $config_dir/config
    - echo "os_version=$os_version" >> $config_dir/config
    - echo "real_os_type=$real_os_type" >> $config_dir/config
    - echo "real_os_version=$real_os_version" >> $config_dir/config
    + echo "os_type=$os_type" >> $DESTDIR$config_dir/config
    + echo "os_version=$os_version" >> $DESTDIR$config_dir/config
    + echo "real_os_type=$real_os_type" >> $DESTDIR$config_dir/config
    + echo "real_os_version=$real_os_version" >> $DESTDIR$config_dir/config
    if [ -r /etc/system.cnf ]; then
    # Found a caldera system config file .. get the language
    source /etc/system.cnf
    @@ -608,61 +668,62 @@
    elif [ "$CONF_LST_LANG" = "uk" ]; then
    CONF_LST_LANG=en
    fi
    - grep "lang=$CONF_LST_LANG," "$wadir/lang_list.txt" >/dev/null 2>&1
    + grep "lang=$CONF_LST_LANG," "$DESTDIR$wadir/lang_list.txt" >/dev/null 2>&1
    if [ "$?" = 0 ]; then
    - echo "lang=$CONF_LST_LANG" >> $config_dir/config
    + echo "lang=$CONF_LST_LANG" >> $DESTDIR$config_dir/config
    fi
    fi
    # Turn on logging by default
    - echo "log=1" >> $config_dir/config
    + echo "log=1" >> $DESTDIR$config_dir/config
    else
    # one-off hack to set log variable in config from miniserv.conf
    - grep log= $config_dir/config >/dev/null
    + grep log= $DESTDIR$config_dir/config >/dev/null
    if [ "$?" = "1" ]; then
    - grep log= $config_dir/miniserv.conf >> $config_dir/config
    - grep logtime= $config_dir/miniserv.conf >> $config_dir/config
    - grep logclear= $config_dir/miniserv.conf >> $config_dir/config
    + grep log= $DESTDIR$config_dir/miniserv.conf >> $DESTDIR$config_dir/config
    + grep logtime= $DESTDIR$config_dir/miniserv.conf >> $DESTDIR$config_dir/config
    + grep logclear= $DESTDIR$config_dir/miniserv.conf >> $DESTDIR$config_dir/config
    fi
    fi
    -echo $ver > $config_dir/version
    +echo $ver > $DESTDIR$config_dir/version
    echo "..done"
    echo ""
    # Set passwd_ fields in miniserv.conf from global config
    for field in passwd_file passwd_uindex passwd_pindex passwd_cindex passwd_mindex; do
    - grep $field= $config_dir/miniserv.conf >/dev/null
    + grep $field= $DESTDIR$config_dir/miniserv.conf >/dev/null
    if [ "$?" != "0" ]; then
    - grep $field= $config_dir/config >> $config_dir/miniserv.conf
    + grep $field= $DESTDIR$config_dir/config >> $DESTDIR$config_dir/miniserv.conf
    fi
    done
    -grep passwd_mode= $config_dir/miniserv.conf >/dev/null
    +grep passwd_mode= $DESTDIR$config_dir/miniserv.conf >/dev/null
    if [ "$?" != "0" ]; then
    - echo passwd_mode=0 >> $config_dir/miniserv.conf
    + echo passwd_mode=0 >> $DESTDIR$config_dir/miniserv.conf
    fi
    # If Perl crypt supports MD5, then make it the default
    if [ "$md5pass" = "1" ]; then
    - echo md5pass=1 >> $config_dir/config
    + echo md5pass=1 >> $DESTDIR$config_dir/config
    fi
    # Set a special theme if none was set before
    if [ "$theme" = "" ]; then
    - theme=`cat "$wadir/defaulttheme" 2>/dev/null`
    + theme=`cat "$DESTDIR$wadir/defaulttheme" 2>/dev/null`
    fi
    -oldthemeline=`grep "^theme=" $config_dir/config`
    +oldthemeline=`grep "^theme=" $DESTDIR$config_dir/config`
    oldtheme=`echo $oldthemeline | sed -e 's/theme=//g'`
    -if [ "$theme" != "" ] && [ "$oldthemeline" = "" ] && [ -d "$wadir/$theme" ]; then
    - echo "theme=$theme" >> $config_dir/config
    - echo "preroot=$theme" >> $config_dir/miniserv.conf
    +if [ "$theme" != "" ] && [ "$oldthemeline" = "" ] && [ -d "$DESTDIR$wadir/$theme" ]; then
    + echo "theme=$theme" >> $DESTDIR$config_dir/config
    + echo "preroot=$theme" >> $DESTDIR$config_dir/miniserv.conf
    fi
    # Set the product field in the global config
    -grep product= $config_dir/config >/dev/null
    +grep product= $DESTDIR$config_dir/config >/dev/null
    if [ "$?" != "0" ]; then
    - echo product=webmin >> $config_dir/config
    + echo product=webmin >> $DESTDIR$config_dir/config
    fi
    +#I disbled makeboot. If enabled, then $DESTIDIR needs tp be added to this section
    if [ "$makeboot" = "1" ]; then
    echo "Configuring Webmin to start at boot time.."
    (cd "$wadir/init" ; WEBMIN_CONFIG=$config_dir WEBMIN_VAR=$var_dir "$wadir/init/atboot.pl")
    @@ -671,8 +732,8 @@
    fi
    if [ "$nouninstall" = "" ]; then
    - echo "Creating uninstall script $config_dir/uninstall.sh .."
    - cat >$config_dir/uninstall.sh <<EOF
    + echo "Creating uninstall script $DESTDIR$config_dir/uninstall.sh .."
    + cat >$DESTDIR$config_dir/uninstall.sh <<EOF
    #!/bin/sh
    printf "Are you sure you want to uninstall Webmin? (y/n) : "
    read answer
    @@ -688,89 +749,91 @@
    echo "Done!"
    fi
    EOF
    - chmod +x $config_dir/uninstall.sh
    + chmod +x $DESTDIR$config_dir/uninstall.sh
    echo "..done"
    echo ""
    fi
    echo "Changing ownership and permissions .."
    -chown -R root $config_dir
    -chgrp -R bin $config_dir
    -chmod -R og-rw $config_dir
    -chmod 755 $config_dir/{sendmail,qmailadmin,postfix}*/config >/dev/null 2>&1
    -chmod 755 $config_dir/{sendmail,qmailadmin,postfix}*/autoreply.pl >/dev/null 2>&1
    -chmod 755 $config_dir/{sendmail,qmailadmin,postfix}*/filter.pl >/dev/null 2>&1
    -chmod 755 $config_dir/squid*/squid-auth.pl >/dev/null 2>&1
    -chmod 755 $config_dir/squid*/users >/dev/null 2>&1
    -chmod +r $config_dir/version
    +chown -R root $DESTDIR$config_dir
    +chgrp -R bin $DESTDIR$config_dir
    +chmod -R og-rw $DESTDIR$config_dir
    +chmod 755 $DESTDIR$config_dir/{sendmail,qmailadmin,postfix}*/config >/dev/null 2>&1
    +chmod 755 $DESTDIR$config_dir/{sendmail,qmailadmin,postfix}*/autoreply.pl >/dev/null 2>&1
    +chmod 755 $DESTDIR$config_dir/{sendmail,qmailadmin,postfix}*/filter.pl >/dev/null 2>&1
    +chmod 755 $DESTDIR$config_dir/squid*/squid-auth.pl >/dev/null 2>&1
    +chmod 755 $DESTDIR$config_dir/squid*/users >/dev/null 2>&1
    +chmod +r $DESTDIR$config_dir/version
    if [ "$nochown" = "" ]; then
    - chown -R root "$wadir"
    - chgrp -R bin "$wadir"
    - chmod -R og-w "$wadir"
    - chmod -R a+rx "$wadir"
    -fi
    -if [ $var_dir != "/var" ]; then
    - chown -R root $var_dir
    - chgrp -R bin $var_dir
    - chmod -R og-rwx $var_dir
    + chown -R root "$DESTDIR$wadir"
    + chgrp -R bin "$DESTDIR$wadir"
    + chmod -R og-w "$DESTDIR$wadir"
    + chmod -R a+rx "$DESTDIR$wadir"
    +fi
    +if [ $DESTDIR$var_dir != "/var" ]; then
    + chown -R root $DESTDIR$var_dir
    + chgrp -R bin $DESTDIR$var_dir
    + chmod -R og-rwx $DESTDIR$var_dir
    fi
    echo "..done"
    echo ""
    # Save target directory if one was specified
    -if [ "$wadir" != "$srcdir" ]; then
    - echo $wadir >$config_dir/install-dir
    +if [ "$DESTDIR$wadir" != "$srcdir" ]; then
    + echo $wadir >$DESTDIR$config_dir/install-dir
    else
    - rm -f $config_dir/install-dir
    + rm -f $DESTDIR$config_dir/install-dir
    fi
    -if [ "$nopostinstall" = "" ]; then
    - echo "Running postinstall scripts .."
    - (cd "$wadir" ; WEBMIN_CONFIG=$config_dir WEBMIN_VAR=$var_dir "$wadir/run-postinstalls.pl")
    - echo "..done"
    - echo ""
    -fi
    +#This is not for now ... this is for in the install-script
    +#if [ "$nopostinstall" = "" ]; then
    +# echo "Running postinstall scripts .."
    +# (cd "$wadir" ; WEBMIN_CONFIG=$config_dir WEBMIN_VAR=$var_dir "$wadir/run-postinstalls.pl")
    +# echo "..done"
    +# echo ""
    +#fi
    # Run package-defined post-install script
    -if [ -r "$srcdir/setup-post.sh" ]; then
    - . "$srcdir/setup-post.sh"
    -fi
    -if [ "$nostart" = "" ]; then
    - if [ "$inetd" != "1" ]; then
    - echo "Attempting to start Webmin mini web server.."
    - $config_dir/start
    - if [ $? != "0" ]; then
    - echo "ERROR: Failed to start web server!"
    - echo ""
    - exit 14
    - fi
    - echo "..done"
    - echo ""
    - fi
    - echo "***********************************************************************"
    - echo "Webmin has been installed and started successfully. Use your web"
    - echo "browser to go to"
    - echo ""
    - host=`hostname`
    - if [ "$ssl" = "1" ]; then
    - echo " https://$host:$port/"
    - else
    - echo " http://$host:$port/"
    - fi
    - echo ""
    - echo "and login with the name and password you entered previously."
    - echo ""
    - if [ "$ssl" = "1" ]; then
    - echo "Because Webmin uses SSL for encryption only, the certificate"
    - echo "it uses is not signed by one of the recognized CAs such as"
    - echo "Verisign. When you first connect to the Webmin server, your"
    - echo "browser will ask you if you want to accept the certificate"
    - echo "presented, as it does not recognize the CA. Say yes."
    - echo ""
    - fi
    -fi
    +#if [ -r "$srcdir/setup-post.sh" ]; then
    +# . "$srcdir/setup-post.sh"
    +#fi
    +
    +#don't start the webserver
    +#if [ "$nostart" = "" ]; then
    +# if [ "$inetd" != "1" ]; then
    +# echo "Attempting to start Webmin mini web server.."
    +# $config_dir/start
    +# if [ $? != "0" ]; then
    +# echo "ERROR: Failed to start web server!"
    +# echo ""
    +# exit 14
    +# fi
    +# echo "..done"
    +# echo ""
    +# fi
    +
    +# echo "***********************************************************************"
    +# echo "Webmin has been installed and started successfully. Use your web"
    +# echo "browser to go to"
    +# echo ""
    +# host=`hostname`
    +# if [ "$ssl" = "1" ]; then
    +# echo " https://$host:$port/"
    +# else
    +# echo " http://$host:$port/"
    +# fi
    +# echo ""
    +# echo "and login with the name and password you entered previously."
    +# echo ""
    +# if [ "$ssl" = "1" ]; then
    +# echo "Because Webmin uses SSL for encryption only, the certificate"
    +# echo "it uses is not signed by one of the recognized CAs such as"
    +# echo "Verisign. When you first connect to the Webmin server, your"
    +# echo "browser will ask you if you want to accept the certificate"
    +# echo "presented, as it does not recognize the CA. Say yes."
    +# echo ""
    +# fi
    +#fi
    if [ "$oldwadir" != "$wadir" -a "$upgrading" = 1 -a "$deletedold" != 1 ]; then
    echo "The directory from the previous version of Webmin"
    copyconfig.pl.patch:
    --- copyconfig.pl 2004-12-02 23:17:37.000000000 +0100
    +++ copyconfig-new.pl 2004-12-03 01:00:26.000000000 +0100
    @@ -9,12 +9,13 @@
    $ver = $ARGV[1];
    $wadir = $ARGV[2];
    $confdir = $ARGV[3];
    +$DESTDIR = $ARGV[4];
    # Find all clones
    -opendir(DIR, $wadir);
    +opendir(DIR, $DESTDIR.$wadir);
    foreach $f (readdir(DIR)) {
    - if (readlink("$wadir/$f")) {
    - @st = stat("$wadir/$f");
    + if (readlink("$DESTDIR.$wadir/$f")) {
    + @st = stat("$DESTDIR.$wadir/$f");
    push(@{$clone{$st[1]}}, $f);
    @@ -24,7 +25,7 @@
    @mods = @ARGV[4..$#ARGV];
    foreach $m (@mods) {
    # Find any range-number config files
    - $srcdir = "$wadir/$m";
    + $srcdir = "$DESTDIR.$wadir/$m";
    $rangefile = undef;
    opendir(DIR, $srcdir);
    while($f = readdir(DIR)) {

    Goto settings general usage there u will see your apps and under documents &amp;data u will see wot each app uses, the only way to get rid of it is by deleting the app and reinstalling this will free up space..

  • No class found on 2k box using IIS, tomcat, SDK 2

    I just finished the install and config, and got tomcat running fine. but even the simplest jsp example would not load. i got the class not found error.
    what the hell? i don believe.

    ok, got it working. all i had to do was edit the server.xml file. here are all the procedures, for anyone else's ref.:
    1. installed sdk 2.0
    2. installed tomcat 1.4 (beta) and renamed the folder to tomcat (so dos cd command desn't freak out)
    3. set java_home=c:\jdk1.4\JRE and tomcat_home=c:\tomcat\tomcat
    4. started tomcat using startup.bat
    5. installed iis using add/remove
    6. added java bin dir to path variable (c:\jdk1.4\bin
    7. looked for servlet.jar (c:\tomcat\tomcat\lib)
    8. set classpath to that folder (CLASSPATH=.;c:\tomcat\tomcat\lib\servlet.jar;c:\tomcat\tomcat\lib\jsp.jar)
    ( see http://www.essi.fr/~buffa/cours/internet2000/POLYS/servlets/Servlet-Tutorial-Setup.html )
    9. added c:\jdk1.4\bin\tools.jar to classpath
    10. opened server.xml (config file for tomcat) and added port and hostName and inet to <contextManager> per:
    <ContextManager port="8080" hostName="" inet="" debug="0" workDir="work" showDebugInfo="true" >
    11. ran a jsp example in the browser and had a fkin beer!
    enjoy!
    -thekid

  • LD_LIBRARY_PATH not updated in Solaris10

    Hello,
    We are using SCCS on Solaris10; one of the utility that was working fine in Solaris8 was not working fine in Solaris10;
    When I investigated the problem; I got that the LD_LIBRARY_PATH was not updated to the default /usr/lib/ dir; I added the default dir; then it worked fine;
    But my concern here is LD_LIBRARY_PATH variable will be by default set to the /usr/lib paths; if thats the case why should we need to change it again to point it to the default lib directory;
    Is there any restriction provided for this in Solaris10 or am I missing something;
    Would be thankful if I could get some info
    Thanks
    -Vije

    LD_LIBRARY_PATH is added to the default runtime search paths for shared libraries. /usr/lib is already in the search path, so there should be no reason to ever add it to that variable.
    Is the utility setuid?
    What does 'crle' return on your system?
    What does 'ldd <utility>' return with and without the LD_LIBRARY_PATH variable set?
    Darren

  • Right-to-left direction of forms 10g (RTL)

    Hi
    I want Change Right to Left All of Forms Applet then
    i changed BASEjini.htm , base.htm , basejpi.htm and Added Line
    <HTML DIR= RTL>
    and bounce application server (EBS 12.1.1) but not working .
    Please help me .
    Regards
    Adel

    hi
    i think
    If you set the Direction Property on forms level to right to left,
    the direction will change.I hope it will help u too.
    sarah

  • Ant task to include Halo theme

    Hi,
    I recently migrated from Flex 3.4 to Flex 4. Everything works fine when I compile the application using Flash Builder 4. But I am having issues making our automated ant builds pick up the Halo theme over the Spark theme.
    In FB4, I just used the "Flex Theme" options under Project -> Properties to define the Halo theme as the default theme.Before that I used the -theme compiler argument. Both work fine.
    For our ant task, I tried adding:
      <compiler.theme dir="${FLEX_HOME}/frameworks" append="false">
                 <include name="/themes/Halo/halo.swc" />
      </compiler.theme>
    Unfortunately that does not seem to work and the result still shows the Spark theme. I also tried making "theme" a task attribute and the other options according to Flex 4 docs ( http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a63.html ), but to no avail.
    I have very limited experience with ant and would appreciate some input.
    Thanks!

    I just ran into this same issue yesterday, Here's what worked for me, placed between the <mxmlc>   </mxmlc> tags
    <theme dir="${FLEX_HOME}/frameworks/themes/Halo">
           <include name="halo.swc" />
    </theme>

  • FlexUnit Ant task freeze at Reciving Data...

    Hello,
    I'm trying to use flex unit task and when I run it, get this on console and stay there for ever.
    "*****" is just to privacy
    this is my ant task
    <target name="UNIT TEST">
                        <echo>COMPILING TEST SWF..</echo>
                        <mxmlc output="${basedir}/bin/Test.swf" file="${basedir}/test-src/TestRunner.as">
                                  <target-player>${env.TARGET_PLAYER}</target-player>
                                  <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                                  <source-path path-element="${FLEX_HOME}/frameworks"/>
                                  <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                           <include name="libs" />
                    <include name="../bundles/{locale}" />
                        </compiler.library-path>       
                                  <source-path path-element="${env.WIP_CLIENT_COM_SRC_PATH}"/>
                                  <define name="CONFIG::FLASH_AUTHORING" value="false"/>
                                  <source-path path-element="${basedir}/test-src"/>
                                  <source-path path-element="${basedir}/src"/>
                                  <compiler.library-path dir="${basedir}" append="true">
                                 <include name="libs" />
                              </compiler.library-path>  
                                  <compiler.library-path dir="${env.WIP_CLIENT_COM_SRC_PATH}" append="true">
                                 <include name="libs" />
                              </compiler.library-path>  
                                  <compiler.external-library-path dir="${env.WIP_CLIENT_COM_SRC_PATH}/libs" append="true">
                                            <include name="GenericChat.swc"/>
                                  </compiler.external-library-path>
                         </mxmlc>
                        <echo>COMPILED TEST SWF..</echo>
                        <echo>Running Test Runner SWF</echo>
            <flexunit swf="${basedir}\bin\Test.swf"
                toDir="${basedir}\bin"
                haltonfailure="true"
                verbose="true"
                localTrusted="false"/>
            <echo>Ran Test Runner SWF</echo>
            <echo>Generate Readable Tests</echo>
            <junitreport todir="${basedir}\bin">
                <fileset dir="${basedir}\bin">
                    <include name="TEST-*.xml"/>
                </fileset>
                <report format="frames" todir="${basedir}\bin\html"/>
            </junitreport>
            <echo>Generated Readable Tests</echo>
              </target>
    Buildfile:******.xml
    UNIT TEST:
         [echo] COMPILING TEST SWF..
        [mxmlc] Cargando el archivo de configuración D:\Desarrollo\fdk\flex_sdk_4.5.1.21328\frameworks\flex-config.xml
        [mxmlc] D:\Proyectos\Bubble\Cliente\trunk\test-src\TestRunner.as: Advertencia: Esta unidad de compilación no tiene ninguna factoryClass especificada en los metadatos del fotograma para cargar las bibliotecas compartidas en tiempo de ejecución configuradas. Para compilar sin bibliotecas compartidas en tiempo de ejecución establezca la opción -static-link-runtime-shared-libraries en true o elimine la opción -runtime-shared-libraries.
        [mxmlc] *********Test.swf (50729 bytes)
         [echo] COMPILED TEST SWF..
         [echo] Running Test Runner SWF
    [flexunit] Validating task attributes ...
    [flexunit] Generating default values ...
    [flexunit] Using default working dir [****]
    [flexunit] Using the following settings for the test run:
    [flexunit]           FLEX_HOME: [*****fdk\flex_sdk_4.5.1.21328]
    [flexunit]           haltonfailure: [true]
    [flexunit]           headless: [false]
    [flexunit]           display: [99]
    [flexunit]           localTrusted: [false]
    [flexunit]           player: [flash]
    [flexunit]           port: [1024]
    [flexunit]           swf: [****\Test.swf]
    [flexunit]           timeout: [60000ms]
    [flexunit]           toDir: [********\bin]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] Executing 'rundll32' with arguments:
    [flexunit] 'url.dll,FileProtocolHandler'
    [flexunit] '********\Test.swf'
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit] Client connected.
    [flexunit] Setting inbound buffer size to [262144] bytes.
    [flexunit] Receiving data ...
    Thank you in advance.
    Javier

    I still have not been able to get FlexUnit running with AIR SDK 15. But I found a workaround:
    Compile the source code with SDK 15 into swc files.
    Set FlexUnit to use SDK 4.
    Do not include source code in the FlexUnit Ant task.
    Include the swc files in stead by adding another library dir parameter to the flexunit call.

  • JAXRPC ws-client generation failure with WL10.3

    Hi all.
    My deep apologies for crossposting; this question was posted first to "WebLogic Server - Upgrade" forum and just later I found this webservices related topic.
    I'm copying it as it for for the sake of convenience.
    I'm facing a problem to generate web-service client with WL-10.3, while WL-9.2 works pretty fine with this WSDL.
    My ANT task is:
    <clientgen
    type="JAXRPC"
    wsdl="${WSDL}"
    destDir="${DESTDIR}"/>
    In case type is set to JAXWS, generation succeeds. However, if I set it to JAXRPC (I need to enable multirefs to support closed graphs), the generation fails with exception:
    weblogic.wsee.tools.WsBuildException: weblogic.descriptor.DescriptorException: Failed to marshal: weblogic.j2ee.descriptor.JavaWsdlMappingBeanImpl
    at weblogic.wsee.tools.anttasks.ClientGenFacadeTask.execute(ClientGenFacadeTask.java:235)
    at weblogic.wsee.tools.anttasks.ClientGenTask.execute(ClientGenTask.java:358)
    Caused by: java.io.IOException
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
    at weblogic.descriptor.BasicDescriptorManager.getMarshallerFactory(BasicDescriptorManager.java:137)
    Caused by: com.bea.xml.XmlException: unable to load type library from classloader org.apache.tools.ant.AntClassLoader@104c575
    at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
    Are there any known limitations/issues regarding JAXRPC support for WL-10.3?
    Is there any workaround for this problem?
    Greatly appreciating any inputs
    Sincerely
    Jabb

    Updates.
    Meanwhile I found that the mentioned failure is caused due to inner calls to ClassLoader.getResources() searches for "META-INF/binding-file.ser" and "META-INF/binding-mapping-file.ser" calls which returns empty results. However these files were succesfully created in directory pointed by destDir attribute. I added the destDir dir to taks's classpath:
    <clientgen
    type="JAXRPC"
    wsdl="${WSDL}"
    destDir="${DESTDIR}">
    <classpath>
         <pathelement location="${DESTDIR}"/>
    </classpath>
    </clientgen>
    and this faulire was gone, but new appeared:
    weblogic.wsee.tools.WsBuildException: weblogic.descriptor.DescriptorException: Failed to marshal: weblogic.j2ee.descriptor.JavaWsdlMappingBeanImpl
         at weblogic.wsee.tools.anttasks.ClientGenFacadeTask.execute(ClientGenFacadeTask.java:235)
    Caused by: com.bea.xml.XmlException: failed to find root element corresponding to weblogic.j2ee.descriptor.JavaWsdlMappingBeanImpl
         at com.bea.staxb.runtime.internal.MarshallerImpl.lookupRootElementName(MarshallerImpl.java:70)
         at com.bea.staxb.runtime.internal.MarshallerImpl.marshal(MarshallerImpl.java:139)
         at com.bea.staxb.runtime.internal.MarshallerImpl.marshal(MarshallerImpl.java:191)
         at weblogic.descriptor.BasicDescriptorManager.writeDescriptorBeanAsXML(BasicDescriptorManager.java:503)

  • Using opmn to start/stop hub repo and adapters

    Also posted as a thread on the OracleAS General forum, I'm hoping the duplication will cover both areas of expertise. Apologies if I offend.
    "Configuring custom process with OracleAS 10g Release 2 (10.1.2) "
    A Metalink note kindly informed me that I could use OPMN to start and stop Interconnect hub and adapter processes. The hyperlink sent me to the OPMN documentation and that's where the fun started!
    So far I have only tried to add the repository as an ias-component and this is how the section of the opmn.xml file looks.
    <ias-component id="HUBDEV3" status="enabled" id-matching="true">
    <process-type id="HUBDEV3-repository" module-id="CUSTOM">
    <environment>
    <variable id="CLASSPATH" value="/du01/OAI/oracleas1/integration/interconnect/lib/oai.jar"/>
    <variable id="CLASSPATH" value="/du01/OAI/oracleas1/jdk/jre/lib/i18n.jar" append="true"/>
    <variable id="CLASSPATH" value="/du01/OAI/oracleas1/jdbc/lib/classes12.jar" append="true"/>
    <variable id="CLASSPATH" value="/du01/OAI/oracleas1/jdbc/lib/nls_charset12.jar" append="true"/>
    <variable id="CLASSPATH" value="/du01/OAI/oracleas1/jlib/oraclepki.jar" append="true"/>
    <variable id="CLASSPATH" value="/du01/OAI/oracleas1/jlib/ojpse.jar" append="true"/>
    <variable id="PATH" value="/du01/OAI/oracleas1/jdk/jre/bin" append="true"/>
    <variable id="LD_LIBRARY_PATH" value="/du01/OAI/oracleas1/lib32" append="true"/>
    </environment>
    <process-set id="repo" numprocs="1">
    <module-data>
    <category id="start-parameters">
    <data id="java-parameters" value="-server -Drepo=InterConnectRepository -DORBdisableLocator=true -mx512m -ms8m oracle.aob.repository.Repomain"/>
    <data id="jar-file" value="/du01/OAI/oracleas1/integration/interconnect/lib/oai.jar"/>
    </category>
    <category id="stop-parameters">
    <data id="java-parameters" value="-server -Drepo=InterConnectRepository -DORBdisableLocator=true -mx512m -ms8m oracle.aob.repository.Repomain -shutdown"/>
    <data id="jar-file" value="/du01/OAI/oracleas1/integration/interconnect/lib/oai.jar"/>
    </category>
    </module-data>
    <start timeout="600"/>
    <stop timeout="120"/>
    </process-set>
    </process-type>
    </ias-component>
    This parses okay and when I call opmnctl status I get the following:
    $ opmnctl status
    Processes in Instance: hubASDEV3.xxxxxxxxxx
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    LogLoader | logloaderd | N/A | Down
    DSA | DSA | N/A | Down
    HTTP_Server | HTTP_Server | 27533 | Alive
    dcm-daemon | dcm-daemon | 217 | Alive
    OC4J | home | 27534 | Alive
    OC4J | jacada | 27535 | Alive
    HUBDEV3 | HUBDEV3-repository | N/A | Down
    I tried opmnctl startproc ias-component=HUBDEV3 & opmnctl startproc process-type=HUBDEV3-repository but both retun the following message:
    opmn id=crm-drtest:6200
    no enabled components for this request
    Can anyone advice on where and why I'm going wrong?
    Sometimes you wish you'd never seen the hint in the first place!!

    Well, I now have a working solution.
    The section from the opmn.xml file now reads (the major changes in bold):
    <ias-component id="HUBDEV3" status="enabled" id-matching="true">
    <process-type id="HUBDEV3-repo" module-id="CUSTOM" working-dir="/du01/OAI/oracleas1/integration/interconnect/repository">
    <environment>
    <variable id="JAVA_HOME" value=""/>
    <variable id="THREADS_FLAG" value="native"/>
    <variable id="PATH" value="/du01/OAI/oracleas1/jdk/jre/bin" append="true"/>
    <variable id="LD_LIBRARY_PATH" value="/du01/OAI/oracleas1/lib32" append="true"/>
    </environment>
    <process-set id="repo" numprocs="1">
    <module-data>
    <category id="start-parameters">
    <data id="start-executable" value="/du01/OAI/oracleas1/jdk/jre/bin/java"/>
    <data id="start-args" value="-server -Drepo=InterConnectRepository -DORBdisableLocator=true -mx512m -ms8m -classpath /du01/OAI/oracleas1/integration/interconnect/lib/oai.jar:/du01/OAI/oracleas1/jdk/jre/lib/i18n.jar:/du01/OAI/oracleas1/jdbc/lib/classes12.jar:/du01/OAI/oracleas1/jdbc/lib/nls_charset12.jar:/du01/OAI/oracleas1/jlib/oraclepki.jar:/du01/OAI/oracleas1/jlib/ojpse.jar oracle.aob.repository.Repomain"/>
    </category>
    <category id="stop-parameters">
    <data id="stop-executable" value="/du01/OAI/oracleas1/jdk/jre/bin/java"/>
    <data id="stop-args" value="-classpath /du01/OAI/oracleas1/integration/interconnect/lib/oai.jar:/du01/OAI/oracleas1/jdk/jre/lib/i18n.jar:/du01/OAI/oracleas1/jdbc/lib/classes12.jar:/du01/OAI/oracleas1/jdbc/lib/nls_charset12.jar:/du01/OAI/oracleas1/jlib/oraclepki.jar:/du01/OAI/oracleas1/jlib/ojpse.jar oracle.aob.repository.Repomain -shutdown"/>
    </category>
    </module-data>
    <start timeout="600"/>
    <stop timeout="120"/>
    </process-set>
    </process-type>
    <process-type id="HUBDEV3-adapters" module-id="CUSTOM" working-dir="/du01/OAI/oracleas1/integration/interconnect/adapters/CRMAPPS">
    <environment>
    <variable id="JAVA_HOME" value=""/>
    <variable id="THREADS_FLAG" value="native"/>
    <variable id="PATH" value="/du01/OAI/oracleas1/jdk/jre/bin" append="true"/>
    <variable id="LD_LIBRARY_PATH" value="/du01/OAI/oracleas1/lib32" append="true"/>
    </environment>
    <process-set id="crmapps" numprocs="1">
    <environment>
    <variable id="LANG" value="en_US"/>
    </environment>
    <module-data>
    <category id="start-parameters">
    <data id="start-executable" value="/du01/OAI/oracleas1/jdk/jre/bin/java"/>
    <data id="start-args" value="-server -Dadapter=CRMAPPS -DORBdisableLocator=true -ms8m -mx512m -classpath :/du01/OAI/oracleas1/integration/interconnect/lib/oai.jar:/du01/OAI/oracleas1/jdk/jre/lib/i18n.jar:/du01/OAI/oracleas1/jdbc/lib/classes12.jar:/du01/OAI/oracleas1/jdbc/lib/nls_charset12.jar:/du01/OAI/oracleas1/rdbms/jlib/aqapi.jar:/du01/OAI/oracleas1/rdbms/jlib/jmscommon.jar:/du01/OAI/oracleas1/lib/xmlparserv2.jar:/du01/OAI/oracleas1/jlib/oraclepki.jar:/du01/OAI/oracleas1/jlib/ojpse.jar:/du01/OAI/oracleas1/jdk/jre/lib/ext/mail.jar:/du01/OAI/oracleas1/jdk/jre/lib/ext/activation.jar:/du01/OAI/oracleas1/integration/interconnect/lib/UserDefinedTransforms.jar: oracle.oai.agent.service.AgentService"/>
    </category>
    <category id="stop-parameters">
    <data id="stop-executable" value="/du01/OAI/oracleas1/jdk/jre/bin/java"/>
    <data id="stop-args" value="-mx64m -classpath /du01/OAI/oracleas1/integration/interconnect/lib/oai.jar oracle.oai.agent.proxy.ShutdownAgent persistence/Agent.ior"/>
    </category>
    </module-data>
    <start timeout="600"/>
    <stop timeout="120"/>
    </process-set>
    </process-type>
    </ias-component>
    Once I added the working-dir attribute to the process-type tag, things began to fall into place. working-dir is set to the directory location of the repository start script and I repeated the same for the crmapps adapter. My biggest clue came when I added the crmapps adapter to the opmn.xml and when I tried to start it, the log file indicated that it couldn't find the adapter.ini file. The rest came naturally after that breakthrough.
    It needs a bit of rejigging but so far, results are good.
    Message was edited by:
    Devious Scully

  • DMS Issue

    I created a DIR and it is in released staus .
    I change the status from released to correction. One class is already added in the DIR. I want to add a new class in that DIR. but the system won't allow me. Message appearing "Multiple classification not allowed"
    Can anyone help?
    Its urgent

    Please post your question under Document Management System forum to get a quick response.
    SAP Document Management
    Regards,
    Srinivas

  • WLST startserver issues in WLS 12.1

    Trying to upgrade to WLS 12.1 (and WebSPhere 8.x)
    We create a Domain through WLSt. Save it, start it and then deploy our app. All though WLST.
    Part 1), creating the domain worked. While starting the server, it complained about "JAX-WS 2.2 API is required, but an older version was found in the JDK.". That was resolved when I added java.endorsed.dirs. Now, I have the domain created and then WLSt tries to start it using
    startServer('AdminServer','MyDomain','t3://localhost:7001', 'weblogic', 'weblogic1',
    'c:/release/v78/weblogic/config/MyDomain',
    serverLog='c:/release/v78/weblogic/config/logs/wlstStartServer.log', timeout=360000,
    systemProperties='weblogic.alternateTypesDirectory=c:/release/v78/weblogic/config/lib/jmx,com.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0,java.endorsed.dirs=C:/bea/java6_29_64bit/jre/lib/endorsed;c:/bea/wls12/wlserver_12.1/endorsed;c:/release/v78/weblogic/config/vendor/jaxws22/jaxws-ri/lib',
    jvmArgs='-Xms256m -Xmx1024m -XX:MaxPermSize=128m')
    and the above always results in the following. Interestingly, if I simply used the MyDomain/startWebLogic.cmd, the server starts.
    *+.WLST-WLS-1326381258658: <Jan 12, 2012 10:14:26 AM EST> <Error> <HTTP> <BEA-101064> <[WebAppModule(bea_wls_internal:bea_wls_internal.war)] Error parsing descriptor in Web appplication "C:\release\v78\Webworks\weblogic\config\MyDomain\serves\AdminServer\tmp\.internal\bea_wls_internal.war"+*
    WLST-WLS-1326381258658: java.lang.StringIndexOutOfBoundsException: String indexout of range: 0*
    WLST-WLS-1326381258658:         at java.lang.String.charAt(String.java:686)*
    WLST-WLS-1326381258658:         at weblogic.servlet.internal.WebAppReader2.getText(WebAppReader2.java:190)*
    WLST-WLS-1326381258658:         at weblogic.application.descriptor.BasicMunger2._onDTD(BasicMunger2.java:471)*
    WLST-WLS-1326381258658:         at weblogic.application.descriptor.BasicMunger2.next(BasicMunger2.java:433)*

    unable to start a domain through WLST startServer

  • BUG 10.1.3 EA   ( Manage Libraries and GUI Designer )

    Hi again,
    Sorry guys, just make the title more specific.......and hope that team JDeveloper will
    notice this....
    Problem No. 1, "Add JavaBeans" not able to list any custom visual javabeans which added using "Load Dir..." in Manage Libraries but no problem with "User" location.
    Problem No. 2, Create JFrame "A" with nothing inside, then create JFrame "B" which inherited from JFrame "A". Notice, GUI Designer will show an invisible JFrame "B".
    Thanks again~

    I'm using a Oracle 9i2 database.
    In this database I have created a package with several procedures.
    I checked the prerequisites as described in the help-files.
    I open the package in the editor, and start debugging by using the pop-up menu, choosing debug, choosing one of the package procedures, and adjusting the generated anonymous PL/SQL block. After clicking the OK-button the response in the debug window is:
    Connecting to the database DOSE_TEST.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: ALTER SESSION SET PLSQL_COMPILER_FLAGS=INTERPRETED
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '<deleted this part>', '3339' )
    Debugger accepted connection from database on port 3339.
    Process exited.
    Disconnecting from the database DOSE_TEST.
    Debugger disconnected from database.
    There are breakpoints set in the package, so during debugging it should stop at the breakpoint.
    The package procedure is run, because the procedure inserts a record in a log-table, and after this debug session there is a new record in this table.

Maybe you are looking for

  • How much memory can I stuff in my Mac Mini?

    I have a mid-2011 i5 2.3 Mac Mini that came with 4GB memory (2X2GB).  After a while, I upgraded it to 2X4GB chips, and today, I installed 2X8GB chips for a total of 16GB internal memory.  How much can I stuff in there?  Can I put in 2X16GB chips? Als

  • Rounding at the time of finance posting

    Dear All , Our client requirement round the amount at the of FI posting . Means they do not want rounding at the item level but at the time of updating customer debit entry and credit entry to revenue account . Points will be definately rewarded for

  • Scale factor change in 11g?

    This is what i do on Oracle 10g R2 and 11g. select wktext from cs_srs where srid = 28992; On 10g R2 I get: PROJCS["Amersfoort / RD New",           GEOGCS [ "Amersfoort",                DATUM ["Amersfoort (EPSG ID 6289)",                     SPHEROID

  • Photoshop CS3 crashes at exit

    On Windows 7: It always crashes at exit, but only on my login. Also on startup the window location is at the bottom of the desktop and icon palettes are collapsed. I assume there is a corrupted setting file somewhere: Deleting user prefs didn't work.

  • How to control Page privilege?

    Dear all: Thanks you at first; 1.First we to browse that web page www.umc.com; 2.Immediately after, the main page of that website mainly make it be divided into 4 parts, the single column of the main course of the top is the first part, the detailed