Gtksourceview lang-file for PKGBUILDs

Hi,
Does anybody know if there already exists a gtksourceview lang file for PKGBUILD syntax highlighting?
It would be nice to have PKGBUILD highlighting in gedit.

Localization on Skype for Linux is fairly easy as it's a Qt application and you can use Qt Linguist to translate the accompanying .ts file.
Translating a MacOS application is way more complex, but alos much more powerful because of the way application layouts are designed on that platform. The advantage is that a localized app can have a different UI layout. You can use software like iLocalize to translate the Skype app, but it's not that easy to exchange the finished localizations.
Follow the latest Skype Community News
↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

Similar Messages

  • Skype .lang file for Scottish Gaelic

    Here's the lastest language file for Scottish Gaelic (Gàidhlig) for anyone who wants it, good for all versions up to 6.1.0.29. For extra support, you can also visit www.iGaidhlig.net
    To install, save onto your system, the go to Skype » Tools » Change language » Load Skype language file. Same path to go back to English.
    Feel free to notify me of any Gaelic-related issues. I can't do anything about the bad plurals, Skype doesn't allow proper plural formatting.
    I haven't been able to deal with the conversion to Mac OSX or Linux yet, sorry. Not sure yet either if Skype are goint to bundle it with the main file at any point.
    Enjoy!
    Do, or do not. There is no try.
    ★ Skype in your language, from Adyghe to Uyghur ★ iGàidhlig, bathar-bog 'nad chànan ★
    Attachments:
    Gaidhlig.lang ‏397 KB

    Localization on Skype for Linux is fairly easy as it's a Qt application and you can use Qt Linguist to translate the accompanying .ts file.
    Translating a MacOS application is way more complex, but alos much more powerful because of the way application layouts are designed on that platform. The advantage is that a localized app can have a different UI layout. You can use software like iLocalize to translate the Skype app, but it's not that easy to exchange the finished localizations.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Makepkg: Record PKGBUILD sources in .PKGINFO files for maintenance

    To me, it seems like a good idea to record all the source files listed in PKGBUILD's to their accompanying .PKGINFO files; then, should the user have configured the $SRCDEST variable in his /etc/makepkg.conf, this would allow old source files to be (optionally) automatically removed when `pacman -Sc' is run, the package is upgraded, or uninstalled.  Such a feature would save (me) a lot of time and effort manually sorting through and cleaning them.
    Do you "concur"? ( )
    Of course, for this feature to be really useful, you would have to compile from source often.

    This script will parse all the PKGBUILD's in your $ABSROOT directory, collect all their sources into an array, and interactively remove each package NOT in the array from your $SRCDEST, although recording each pkg's source files into its .PKGINFO file would be SO much easier, faster, simpler, and safer (as no unwanted code -- such as little tid bits outside the build() method of PKGBUILD's -- is executed while the sources are being collected).
    #!/bin/bash
    . /etc/makepkg.conf
    . /etc/abs.conf
    if [[ "${SRCDEST}" != "" && "${ABSROOT}" != "" && -d "${SRCDEST}" && -d "${ABSROOT}" ]]; then
    # Holds the column width of the current terminal window
    COLS=$(tput cols)
    # Create an empty row of the width of the current terminal window
    #+ which will be used to erase the current row.
    for sp in $(seq $COLS); do
    empty_row="${empty_row} "
    done
    # Array to hold the sources
    sources=()
    # Array to hold the files to remove
    remove_files=()
    echo "Collecting sources..."
    for PKGBUILD in $(find "${ABSROOT}" -type f -name PKGBUILD); do
    echo -ne "${empty_row}\r${PKGBUILD:0:$COLS}\r"
    . "${PKGBUILD}" &> /dev/null # Silence is golden
    sources=(${sources[@]} ${source[@]##*/})
    done
    # Sort and prune the files
    sources=($(for src_file in ${sources[@]}; do echo "${src_file}"; done | sort | uniq))
    echo -e "${empty_row}\rExamining ${SRCDEST}..."
    for src_file in $(find "${SRCDEST}" -type f | sort); do
    # Show the status
    echo -ne "${empty_row}\r${src_file:0:$COLS}\r"
    # Copy the basename of the current source file for comparisons
    current=${src_file##*/}
    i=0
    j=${#sources[@]}
    k=$(( (i + j) / 2 ))
    # Perform a binary search for the current file
    for (( c = 0; c < ${#sources[@]}; c++ )); do
    let "k = (i + j) / 2"
    if [[ "${sources[k]}" < "${current}" ]]; then
    let "i = k + 1"
    elif [[ "${sources[k]}" > "${current}" ]]; then
    let "j = k - 1"
    else
    break
    fi
    done
    # If the file at ${sources[k]} isn't the one we're looking for,
    #+ check the element immediately before and after it.
    if [[ "${sources[k]}" < "${current}" ]]; then
    # Bash will let me slide when I try to print an element beyond its indices ...
    let "k += 1"
    elif [[ "${sources[k]}" > "${current}" && $k > 0 ]]; then
    # ... but complains when I try to print an element at an index < 0
    let "k -= 1"
    fi
    # If a match is not found ...
    if [[ "${sources[k]}" == "${current}" ]]; then
    # Since both arrays are sorted, I can remove all the elements
    #+ in ${sources[@]} up to index k.
    sources=(${sources[@]:k + 1})
    # Proceed to the next iteration
    continue
    fi
    # Else, add the file to the list of those to be removed
    remove_files=(${remove_files[@]} ${src_file})
    done
    echo -e "${empty_row}\rFound ${#remove_files[@]} files to remove:"
    if (( ${#remove_files[@]} )); then
    for index in $(seq ${#remove_files[@]}); do
    echo " ${index}) ${remove_files[index - 1]}"
    done
    echo -n | read # Clear the buffer (I had some issues)
    echo -n "Would you like to remove all these? [Y|n|c]"
    read ans # or `read -n 1 ans' if you prefer
    case "$ans" in
    ""|[Yy]|[Yy][Ee][Ss])
    for f2r in ${remove_files[@]}; do
    rm "$f2r" || echo "cannot remove $f2r"
    done
    [Cc]|[Cc][Hh][Oo][Ss][Ee])
    for f2r in ${remove_files[@]}; do
    echo -n "${f2r}? [Y|n] "
    echo -n | read # Clear the buffer, again
    read ans
    if [[ "$ans" == "" || "$ans" == [Yy] || "$ans" == [Yy][Ee][Ss] ]]; then
    rm "$f2r" || echo "cannot remove $f2r"
    fi
    done
    esac
    fi
    elif [[ "${SRCDEST}" == "" || ! -d "${SRCDEST}" ]]; then
    echo "Your \$SRCDEST variable is invalid" 1>&2
    echo "Be sure it's set correctly in your \`/etc/makepkg.conf'" 1>&2
    exit 1
    else
    echo "Your \$ABSROOT variable is invalid" 1>&2
    echo "Be sure you have \`abs' installed and that \`/etc/abs.conf' exists" 1>&2
    exit 1
    fi
    (06/02/2009) If we depended on many little scripts to handle our package management, what would then be the purpose of package managers?
    (06/02/2009) Minor edit -> changed `echo' to `echo -n'  on line 90 of my script (superficial modification).
    Last edited by deltaecho (2009-06-02 21:42:54)

  • Missing export file for  package java/lang

    Hello,
    I have Eclipse with JCOP Tools installed and I have a small Applet which runs fine with Java Card 2.2.1 which is part of the JCOP Tools. I want to try the [Extented Length APDU which is defined in Java Card 2.2.2|http://www.cs.ru.nl/~tews/jcdocs/app-notes-2.2.2/extapdu.html] so I downloaded the developpment kit 2.2.2 from sun which includes the api.jar.
    In my Eclipse project, when I remove the 2.2.1 api jar and add the 2.2.2 instead, I get the following "compilation" error "
    Description     Resource     Path     Location     Type
    missing export file for package java/lang     MyApplet.java     MyApplet/src/com/...     Unknown     com.ibm.bluez.jcop.eclipse.jcopmarker
    Do you have an idea what is the problem ?
    Is it possible to use JCOP Tools with Java Card 2.2.2 ?
    How can I know which VM is running my JavaCard ? If it is 2.2.1 it would actually be useless to develop an Applet using 2.2.2. and on the card ther eis written only JCOP31 V2.2
    Thanks,
    Tex
    Edited by: Tex-Twil on May 14, 2009 8:09 AM

    lexdabear wrote:
    javacard2008 wrote:
    It impossible to use current version of JCOP Tools with Java Card 2.2.2 before JCOP new version released.Bullsh*t. JCOP Tools v3.2.7 supports Java Card 2.2.2, since the latest JCOP v2.4.1 runs Java Card 2.2.2.ok. I think I have JCOP v3.1.1 which came with the JavaCards that I bought. Where can I get a newer version ? On NXP site there is not much about JCOP :(
    regards,
    Tex

  • Write a PKGBUILD file for a binary software

    Hello for all ,I need write a PKGBUILD file for crate an arch-package of bmrt software .I dont understand to much the rules for write a PKGBUILD , but I imagina that is possible write a PKGBUILD file for a compiled software , I look for a document that explain in detail the reference for the sintax in the PKGBUILDS files,Any bode know that?

    You might look at some of the examples that do this already, either in AUR or ABS.
    Some examples:
    various games
    j2re
    flash-plugin
    opera
    acroread
    if you run the command 'abs' as root, you can find these PKGBUILDs in subdirectories of /var/abs.  Hopefully you could adapt one of those to your binary program.
    Dusty

  • Where can I Obtain the PKGBUILD and fglrx.install files for my 64bit

    I am frustrated with my HD3870 vid card on my 64 bit Arch so I am actually looking for instructions on how to remove all of the Vidcard drivers and build and install fresh drivers. I read http://wiki.archlinux.org/index.php/ATI but the link for pfgbuild http://www.archlinux.org/packages/12877/ gives me this 404 - Page Not Found
    Sorry, the page you've requested does not exist.
    and after reading allot of posts on the forums here and through google I am starting to believe that the Majority of Video cards are older and most people are using 32bit which is why I need to find out how /where I can find the proper drivers to build or install

    tigrmesh wrote:It seems that the package you're looking for is catalyst.  The PKBUILD and install file for x86_64 can be found here:  http://repos.archlinux.org/viewvc.cgi/c … ra-x86_64/.
    thank you

  • Makepkg issue: cannot create temp file for here-document

    Hi there,
    Since few weeks ago i'm not able to build aur packages. I use yaourt  but i notice the problem comes from makepkg (i searched for the output message and found fakeroot related issues). Here the complete log of, for example, launching makepgk on with the ruby-headers PKGBUILD:
    $ makepkg
    ==> Creazione del pacchetto: ruby-headers 1.9.2_p136-1 (mer 9 feb 2011, 00.27.35, CET)
    ==> Controllo delle dipendenze per l'esecuzione in corso...
    ==> Controllo delle dipendenze per la compilazione in corso...
    ==> Download dei sorgenti in corso...
    -> Download di ruby-1.9.2-p136.tar.bz2 in corso...
    --2011-02-09 00:27:35-- ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2
    => "ruby-1.9.2-p136.tar.bz2.part"
    Risoluzione di ftp.ruby-lang.org... 221.186.184.68
    Connessione a ftp.ruby-lang.org|221.186.184.68|:21... connesso.
    Accesso come utente anonymous ... Login eseguito!
    ==> SYST ... fatto. ==> PWD ... fatto.
    ==> TYPE I ... fatto. ==> CWD (1) /pub/ruby/1.9 ... fatto.
    ==> SIZE ruby-1.9.2-p136.tar.bz2 ... 8819324
    ==> PASV ... fatto. ==> RETR ruby-1.9.2-p136.tar.bz2 ...
    Errore nella risposta del server, chiusura della connessione di controllo.
    Altro tentativo in corso.
    --2011-02-09 00:28:47-- ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2
    (tentativo: 2) => "ruby-1.9.2-p136.tar.bz2.part"
    Connessione a ftp.ruby-lang.org|221.186.184.68|:21... connesso.
    Accesso come utente anonymous ... Login eseguito!
    ==> SYST ... fatto. ==> PWD ... fatto.
    ==> TYPE I ... fatto. ==> CWD (1) /pub/ruby/1.9 ... fatto.
    ==> SIZE ruby-1.9.2-p136.tar.bz2 ... 8819324
    ==> PASV ... fatto. ==> RETR ruby-1.9.2-p136.tar.bz2 ... fatto.
    Lunghezza: 8819324 (8,4M) (non autorevole)
    100%[====================================================================>] 8.819.324 107K/s in 1m 58s
    2011-02-09 00:30:51 (72,8 KB/s) - "ruby-1.9.2-p136.tar.bz2.part" salvato [8819324]
    ==> Validazione dei file sorgenti con md5sums in corso...
    ruby-1.9.2-p136.tar.bz2 ... Verificato
    ==> Estrazione dei sorgenti in corso...
    -> estrazione di ruby-1.9.2-p136.tar.bz2 con bsdtar in corso...
    ==> Avvio di build() in corso...
    ==> Entrata nell'ambiente di fakeroot in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    ==> Avvio di package() in corso...
    ==> Rimozione dei dati superflui in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Rimozione degli altri file in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Compressione delle pagine man ed info in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Rimozione dei simboli non necessari dai binari e dalle librerie in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    ==> Creazione del pacchetto in corso...
    -> Generazione del file .PKGINFO in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Compressione del pacchetto in corso...
    xz: /tmp/rb_hdrs/ruby-headers-1.9.2_p136-1-any.pkg.tar: impossibile rimuovere: Successo
    Hints?
    Thanks in advance

    That time it was in /tmp/ruby_headers (which i created) but it happens with yaourt too and for every pkg i tried.
    [miche@bob tmp]$ yaourt -S ruby_headers
    ruby_headers non trovato su AUR
    [miche@bob tmp]$ yaourt -S ruby_header
    ruby_header non trovato su AUR
    ^[[A[miche@bob tmp]$ yaourt -S ruby-headers
    ==> Continuazione dalla compilazione precedente
    ==> Scaricamento del PKGBUILD di ruby-headers da AUR...
    Comment by: hilton on Tue, 28 Dec 2010 03:51:14 +0000
    Updated to 1.9.2_p136!
    First Submitted: Sat, 13 Nov 2010 20:25:52 +0000
    ruby-headers 1.9.2_p136-1 : A package of all Ruby headers needed by some gems like ruby-debug.
    ( Pacchetto non supportato: Potenzialmente pericoloso ! )
    ==> Modificare il PKGBUILD (altamente raccomandato per ragioni di sicurezza) ? [S/n]("A" per annullare)
    ==> ----------------------------------------------
    ==>n
    ==> Dipendenze di ruby-headers
    - ruby (già installato)
    ==> Continuare la compilazione di ruby-headers? [S/n]
    ==> ----------------------------------------------
    ==>s
    ==> Install or build missing dependencies for ruby-headers:
    ==> Compilazione e installazione del pacchetto
    ==> Dipendenze di ruby-headers
    - ruby (già installato)
    ==> Creazione del pacchetto: ruby-headers 1.9.2_p136-1 (mer 9 feb 2011, 01.23.54, CET)
    ==> Controllo delle dipendenze per l'esecuzione in corso...
    ==> Controllo delle dipendenze per la compilazione in corso...
    ==> Download dei sorgenti in corso...
    -> È stato trovato ruby-1.9.2-p136.tar.bz2
    ==> Validazione dei file sorgenti con md5sums in corso...
    ruby-1.9.2-p136.tar.bz2 ... Verificato
    ==> Estrazione dei sorgenti in corso...
    -> estrazione di ruby-1.9.2-p136.tar.bz2 con bsdtar in corso...
    ==> Rimozione dell'esistente directory pkg/ in corso...
    ==> Avvio di build() in corso...
    ==> Entrata nell'ambiente di fakeroot in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    ==> Avvio di package() in corso...
    ==> Rimozione dei dati superflui in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Rimozione degli altri file in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Compressione delle pagine man ed info in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Rimozione dei simboli non necessari dai binari e dalle librerie in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    ==> Creazione del pacchetto in corso...
    -> Generazione del file .PKGINFO in corso...
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
    /usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
    -> Compressione del pacchetto in corso...
    xz: /tmp/yaourt-tmp-miche/aur-ruby-headers/ruby-headers/ruby-headers-1.9.2_p136-1-any.pkg.tar.xz: impossibile rimuovere: Successo
    Error: Makepkg non ha potuto costruire il pacchetto ruby-headers.
    [miche@bob tmp]$

  • Getting java.lang.NumberFormatException: For input string: "63420;https=127.0.0.1" Error while creating bpel service in oracle soa suite12c

    Hi ,
    I am getting below error when I try to create a bpel project in oracle soa suite 12C, can any one help on this issue why it is happing, earlier am able to create bpel service.
    java.lang.NumberFormatException: For input string: "63420;https=127.0.0.1"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:492)
    at java.lang.Integer.parseInt(Integer.java:527)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:379)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:299)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:295)
    at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:160)
    at java.lang.ThreadLocal.get(ThreadLocal.java:150)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:309)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getExtensionRegistry(CachedWSDLReader.java:425)
    at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLWithExtensionRegistry(CachedWSDLReader.java:468)
    at oracle.tip.tools.ide.utils.xml.wsdl.WSDLUtil.parseWSDL(WSDLUtil.java:1398)
    at oracle.tip.tools.ide.bpel.v2.datamodels.util.TemplateUtil.createProcessWSDL(TemplateUtil.java:1208)
    at oracle.tip.tools.ide.bpel.v2.designer.builder.model.ProcessBuilderUtil.createWSDLFiles(ProcessBuilderUtil.java:198)
    at oracle.tip.tools.ide.bpel.v2.designer.builder.model.ProcessBuilder.createIDEProject(ProcessBuilder.java:73)
    at oracle.tip.tools.ide.bpel.v2.designer.builder.ui.CreationDialogPanel.doCreate(CreationDialogPanel.java:57)
    at oracle.tip.tools.ide.bpel.shared.designer.processbuilder.ui.BPELCreationDialog.handleOK(BPELCreationDialog.java:199)
    at oracle.tip.tools.ide.bpel.shared.designer.processbuilder.ui.BPELCreationDialog.actionPerformed(BPELCreationDialog.java:239)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.Component.processMouseEvent(Component.java:6516)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
    at java.awt.Component.processEvent(Component.java:6281)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4872)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4698)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    at java.awt.Container.dispatchEventImpl(Container.java:2273)
    at java.awt.Window.dispatchEventImpl(Window.java:2719)
    at java.awt.Component.dispatchEvent(Component.java:4698)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:708)
    at java.awt.EventQueue$4.run(EventQueue.java:706)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
    at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
    at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
    at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
    at java.awt.Dialog.show(Dialog.java:1082)
    at java.awt.Component.show(Component.java:1655)
    at java.awt.Component.setVisible(Component.java:1607)
    at java.awt.Window.setVisible(Window.java:1014)
    at java.awt.Dialog.setVisible(Dialog.java:1005)
    at oracle.tip.tools.ide.bpel.shared.designer.processbuilder.ui.BPELCreationDialog.display(BPELCreationDialog.java:83)
    at oracle.tip.tools.ide.bpel.shared.designer.manager.BPELDesignerManager.launchCreationDialog(BPELDesignerManager.java:53)
    at oracle.tip.tools.ide.bpel.shared.designer.manager.BPELDesignerManager.launchCreationDialog(BPELDesignerManager.java:48)
    at oracle.tip.tools.ide.bpel.shared.plugins.soa.sca.BPELComponent.createImplementation(BPELComponent.java:46)
    at oracle.tip.tools.ide.fabric.gui.controller.ActionComponentEdit.add(ActionComponentEdit.java:118)
    at oracle.tip.tools.ide.fabric.gui.controller.ActionComponentEdit.process(ActionComponentEdit.java:95)
    at oracle.tip.tools.ide.fabric.gui.controller.DiagramController.processActionRequest(DiagramController.java:358)
    at oracle.tip.tools.ide.fabric.gui.controls.DiagramSOAPopupHandler.actionPerformed(DiagramSOAPopupHandler.java:117)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
    at java.awt.Component.processMouseEvent(Component.java:6516)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
    at java.awt.Component.processEvent(Component.java:6281)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4872)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4698)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    at java.awt.Container.dispatchEventImpl(Container.java:2273)
    at java.awt.Window.dispatchEventImpl(Window.java:2719)
    at java.awt.Component.dispatchEvent(Component.java:4698)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:708)
    at java.awt.EventQueue$4.run(EventQueue.java:706)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
    at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    Thanks in advance.
    Cheers,
    bala

    Please paste composite.xml and bpel source file here. Looks like one of the endpoints is getting goofed up.

  • Language files for non-official Skype languages av...

    Skype bundles a number of languages with the standard installation file but there are more languages available for the interface. Some of these are really hard to find on the forum or web so to make life easier, some translators have opened a project on SourceForge (download your lang file here) where you can now get all the .lang / .ts and .qm files (as far as we know). To install in Windows, go to Skype and select Tools » Change Language » Load Skype Language file. To install on Linux, check the wiki on SourceForge.
    If you would like to continue translating into your language or if you want to start a new non-official translation, please visit the project on Transifex 
    Please note:
    They're not all complete translations (but you're welcome to help!)
    They're not official so if any translations are wrong, that's not Skype's fault
    The languages currently available are:
    Adyghe (Адыгaбзэ), Windows 7%
    Afrikaans, Windows 32%
    Albanian (Shqip), Windows 100%, Linux 70%
    Amharic (አማርኛ), Windows 3%
    Arabic, Linux 32% (Windows file maintained by Microsoft)
    Aragonese (Aragonés), Windows 83%, Linux 2%
    Armenian (Հայերէն), Windows 100%, Linux 2%
    Asturian (Asturianu), Windows 100%, Linux 17%
    Azerbaijani (Azərbaycanca, Azərbaycan dili), Windows 100%, Linux 58%
    Bashkir (Башҡорт теле), Windows 100%
    Basque (Euskaraz), Windows 94%, Linux 79%
    Belarusian (Беларуская мова, тарашкевіца), Windows 81%
    Belarusian (Беларуская мова), Windows 69%, Linux 3%
    Bengali (বাংলা), Windows 10%, Linux 1%
    Bosnian (Bosanski), Windows 39%, Linux 13%
    Brazilian Portuguese (Português brasileiro), Linux 6% (Windows file maintained by Microsoft)
    Breton (Brezhoneg), Windows 100%, Linux 2%
    Cantonese (廣東話/粵語), Windows 3%
    Chuvash (Чӑвашла), Windows 83%, Linux 79%
    Colognian (Kölsch), Windows 4%
    Cornish (Kernewek), Windows 83%, Linux 79%
    Dutch (Nederlands), Linux 100% (Windows file maintained by Microsoft)
    East Lombard (Üròbech), Windows 3%
    English (British), Windows 100%
    Erzya (Зрзянь кель), Windows 3%
    Esperanto, Windows 47%
    Faroese (Føroyskt), Windows 100%, Linux 5%
    Finnish (Suomi) Linux 79% (Windows file maintained by Microsoft)
    Franconian (Frängisch), Windows 3%
    Frisian (Western; Frysk), Windows 25%, Linux 13%
    Friulian (Furlan), Windows 10%
    Gaelic (Gàidhlig), Windows 100%, Linux 100%
    Galician (Galego), Windows 38%, Linux 62%
    Georgian (ქართული), Windows 18%
    Greek (Ελληνικά), Linux 30% (Windows file maintained by Microsoft)
    Hausa, Windows 3%
    Hawaiian (ʻŌlelo Hawaiʻi), Windows 4%
    Hebrew, Linux 84% (Windows file maintained by Microsoft)
    Hindi (मानक हिन्दी), Windows 71%
    Hungarian (Magyar), Linux 100% (Windows file maintained by Microsoft)
    Icelandic (Íslenska), Windows 30%
    Indonesian (Bahasa Indonesia), Linux 6% (Windows file maintained by Microsoft)
    Irish (Gaeilge), Windows 72%
    K'ich'e Maya (Quetzijob'al), Windows 3%
    Kannada (ಕನ್ನಡ), Windows 2%
    Khmer (ភាសាខ្មែរ), Windows 83%, Linux 1%
    Kurdish (Kurmanji), Windows 1%
    Kurdish (Soranî), Windows 58%
    Ladino (Judeo-Espanyol), Windows 4%
    Ligurian (Lìgure/Zenéize), Windows 86%
    Lingala, Windows 7%
    Lojban, Windows 10%
    Lombard, Windows 12%
    Lower Sorbian (Dolnoserbski), Windows 59%
    Macedonian (Македонски јазик), Windows 78%
    Malay (Bahasa Melayu), Windows 100%, Linux 100%
    Maltese (Malti), Windows 4%
    Marathi (मराठी), Windows 34%, Linux 3%
    Mirandese (Mirandés), Windows 55%
    N'ko (ߒߞߏ), Windows 83%
    Neapolitan (Nnapulitano), Windows 5%
    Nias (Li Niha), Windows 33%
    Norwegian (Nynorsk), Windows 99%, Linux 38%
    Occitan, Windows 9%, Linux 1%
    Palatinate German, Windows 30%, Linux 5%
    Panjabi/Punjabi (ਪੰਜਾਬੀ), Windows 30%
    Persian (Farsi), Windows 41%, Linux 2%
    Piedmontese (Piemontèis), Windows 5%
    Pulaar (Fula/Fulani/Fulfulde), Windows 67%
    Quechua (Runa simi), Windows 3%
    Rumantsch Grischun, Windows 5%
    Sakha/Yakut (Саха тыла), 72%
    Samoan (Gagana Sāmoa), 56%
    Sardinian (Sardu), Windows 2%
    Scots, Windows 6%
    Serbian (Српски), Windows 94%, Linux 100%
    Sinhala (සිංහල), Windows 6%
    Swahili (Kiswahili), Windows 4%
    Swedish (Svenska), Linux 100% (Windows file maintained by Microsoft)
    Tagalog/Filipino, Windows 3%
    Tajik (Тоҷикӣ), Windows 70%
    Talossan (El Glheþ Talossan), Windows 18%
    Tamil (தமிழ்), Windows 71%
    Tatar (Татар теле), Windows 88%
    Telugu (తెలుగు), Windows 41%
    Turkish (Türkçe), Linux 67% (Windows file maintained by Microsoft)
    Upper Sorbian (Hornjoserbšćina), Windows 91%, Linux 66%
    Urdu, Windows 84%
    Uyghur (Persian and Latin script; Uyghurche), Windows 79%
    Uzbek (Oʻzbek tili), Windows 7%, Linux 3%
    Vietnamese (Tiếng Việt), Linux 21% (Windows file maintained by Microsoft)
    Welsh (Cymraeg), Windows 85%, Linux 42%
    Wolof, Windows 3%
    Yoruba (Èdè Yorùbá), Windows 4%
    If we've missed some, do let us know!
    Do, or do not. There is no try.
    ★ Skype in your language, from Adyghe to Uyghur ★ iGàidhlig, bathar-bog 'nad chànan ★

    A sticky would be really good. Also the ability to edit that first post, cause we're already splitting the list of languages across three posts as we add:
    23. Belarusian (Беларуская мова, тарашкевіца)
    24. Norwegian (Nynorsk)
    Do, or do not. There is no try.
    ★ Skype in your language, from Adyghe to Uyghur ★ iGàidhlig, bathar-bog 'nad chànan ★

  • Include an in-memory jar file for JSR-199 compilation

    I want to compile a source file in memory, which requires a jar file that is also represented in memory. I used the JavaSourceFromString class recommended in the documentation for the class JavaCompiler and in a demo I found online that shows how to compile sources represented as String in memory. To represent the jar file, I used a similar trick to JavaSourceFromString:
    public class JarJavaFileObjectFromByteArray extends SimpleJavaFileObject {
       * The contents of this jar file.
      private final byte[] contents;
       * Constructs a new JarJavaFileObjectFromByteArray given the name and binary
       * contents of a jar file.
       * @param name the name of this jar file
       * @param contents the contents of this jar file
      public JarJavaFileObjectFromByteArray(String name, byte[] contents) {
        super(newURI(name), Kind.OTHER);
        this.contents = contents;
      ... // code not shown ensures that the URI returned from newURI is of the form,
          // for instance, bytes:///MathConstants.jar, if the name of the jar file is MathConstants.jar
      @Override
      public InputStream openInputStream() throws IOException {
        return new ByteArrayInputStream(contents);
    }However, I do not know how to alert the compiler that this jar file should be on the classpath. I tried this:
    List<String> options = Arrays.asList(" -classpath bytes:///MathConstants.jar ");
    CompilationTask task = compiler.getTask(null, fileManager, null, options, null, compilationUnits);but I get the following error when calling getTask:
    java.lang.IllegalArgumentException: invalid flag: -classpath bytes:///MathConstants.jarI assume there is some way to tell the compiler, "look at the MathConstants.jar file that I am storing in memory when searching the classpath", but I do not know how to do this. I assumed that the options parameter for getTask represents command-line flags that would be passed to the compiler if this were happening on the command line (such as "-cp .", which also does not work), but perhaps this assumption is wrong.

    Hi Bruce,
    I have a question regarding loading a jar file by the compiler to dynamically compile with a source file. I hope you can probably offer me an idea on what has been missing or wrong with the source codes I have written for my application.
    I am using Eclipse compiler to dynamically compile a class. In the class, I want it to make a reference to a jar file for compilation dynamically.
    Here is the source of a test class I wrote:
    import javax.servlet.http.HttpServlet;
    class MyServlet extends HttpServlet {
    }The import statement refers to the class javax.servlet.http.HttpServlet from the jar file C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0\\lib\\servlet-api.jar placed in the file system.
    In the method called compileClass (shown below), I used the path of the jar file to add to the option -classpath as you suggested.
         private static CompileClassResult compileClass(Writer out, String className, String classSource) {
              try {
                   JavaCompiler javac = new EclipseCompiler();
                   StandardJavaFileManager sjfm = javac.getStandardFileManager(null, null, null);
                   SpecialClassLoader scl = new SpecialClassLoader();
                   SpecialJavaFileManager fileManager = new SpecialJavaFileManager(sjfm, scl);
                   List<String> options = new ArrayList<String>();
                   options.addAll(Arrays.asList("-classpath", "C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0\\lib\\servlet-api.jar"));
                   List<MemorySource> compilationUnits = Arrays.asList(new MemorySource(className, classSource));
                   DiagnosticListener<JavaFileObject> diagnosticListener = null;
                   Iterable<String> classes = null;
                   if (out == null) {
                        out = new PrintWriter(System.err);
                   JavaCompiler.CompilationTask compile = javac.getTask(out, fileManager, diagnosticListener, options, classes, compilationUnits);
                   boolean res = compile.call();
                   if (res) {
                        //Need to modify the api to return an array of two elements - one classes and other bytecodes for all classes in the same class file.
                        return CompileClassResult.newInstance(scl.findClasses(), scl.findByteCodes());
              } catch (Exception e) {
                   e.printStackTrace();               
              return null;
         }I also extended the class ForwardingJavaFileManager as you suggested and have it delegated to the StandardJavaFileManager sent to the compiler mentioned in the method compileClass above. The extended class (called SpecialJavaFileManager) is as follows:
    public class SpecialJavaFileManager extends ForwardingJavaFileManager<StandardJavaFileManager> {
         private SpecialClassLoader xcl;
         public SpecialJavaFileManager(StandardJavaFileManager sjfm, SpecialClassLoader xcl) {
              super(sjfm);
              System.out.println("SpecialJavaFileManager");
              this.xcl = xcl;
         public JavaFileObject getJavaFileForOutput(Location location, String name, JavaFileObject.Kind kind, FileObject sibling) throws IOException {
              System.out.println("getJavaFileForOutput");
              MemoryByteCode mbc = new MemoryByteCode(name);
              xcl.addClass(name, mbc);
              return mbc;
         public Iterable<JavaFileObject> list(JavaFileManager.Location loc, String pkg, Set kinds, boolean recurse) throws IOException {
              System.out.println("list ");
            List<JavaFileObject> result = new ArrayList<JavaFileObject>();
            for (JavaFileObject f : super.list(loc, pkg, kinds, recurse)) {
                 System.out.println(f);
                result.add(f);
              return result;
    }I run the application and the result shows that it didn't load the jar file into the memory as expected. From the output (below) I got, it doesn't seem to invoke the method list(...) in the class SpecialJavaFileManager.
    SpecialJavaFileManager
    1. ERROR in \MyServlet.java (at line 1)
         import javax.servlet.http.*;
                ^^^^^^^^^^^^^
    The import javax.servlet cannot be resolved
    2. ERROR in \MyServlet.java (at line 3)
         class MyServlet extends HttpServlet {
                                 ^^^^^^^^^^^
    HttpServlet cannot be resolved to a typeWould you please let me know what has possibly be missing or wrong?
    Thanks.
    Jonathan
    Edited by: jonathanlam on Aug 10, 2009 6:47 PM

  • JAR files for SQLJ and JDBC drivers: what is the best practice?

    starting a migration from IAS 10 to WebLogic 11g.
    Apparently the jar files for SQLJ are not on the classpath by default.
    java.lang.NoClassDefFoundError: sqlj/runtime/ref/DefaultContextwhich is the better practice: putting the SQLJ runtime jar into the lib subdirectory of the domain directory, or using a shared library reference? (usage of SQLJ is pretty prevalent in our apps, though we may be getting away from it)
    are the Oracle JDBC drivers on the classpath by default?
    if not, then the same question: put them into the lib subdirectory of the domain directory, or use a shared library reference?

    I'm looking at the setDomainEnv, especially the big note at the top:
    >
    # WARNING: This file is created by the Configuration Wizard.
    # Any changes to this script may be lost when adding extensions to this configuration.
    >
    and am getting squeamish about editing it...
    http://www.bea-weblogic.com/how-do-i-disable-wls-automatically-adding-to-classpath.html looks like the default behaviour is for WebLogic to put $DOMAIN/lib;$WL_HOME/common/lib/ext;$WL_HOME/server/lib/ext on the classpath; there is also a reference to setting weblogic.ext.dirs= when starting weblogic (which means I set the WEBLOGIC_EXTENSION_DIRS environment variable).
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/libraries.html#wp1067450 also refers at the bottom to using the domain /lib subdirectory.
    so am I correct that a good practice is to just put the jars I think I will globally need into $DOMAIN/lib, rather than putting them in $WL_HOME/common/lib/ext, $WL_HOME/server/lib/ext, or fiddling with the WEBLOGIC_EXTENSION_DIRS environment variable?
    Edited by: user8652010 on Feb 10, 2011 1:08 PM

  • BEA-141230 Could Not locate descriptor file for System Resource: DS name

    Guys,
    When I start the Admin and Managed server ..I get below warning message.
    *<Warning> <Management> <BEA-141230> <Could Not locate descriptor file for System Resource : datasource1.>*
    I know that weblogic server is unable to locatie datasource1.xml file at <SOA_HOME>/user_projects/domains/base_domain/config/jdbc
    Is there any way to to get rid off from this error? I tried to delete datasource from weblogic Admin console, but get below error:
    java.lang.NullPointerException
    All changes have been activated. No restarts are necessary.
    Errors were encountered while performing this delete operation.
    Thanks,
    Ab

    Are you starting servers with the root user? make sure that using whichever user you are starting server, it has full access on MW_Home and it's sub-directories. You may consider raising a support SR.
    Regards,
    Anuj

  • Exporting file for Flash Catalyst use?

    Hey everyone.  I've made a video in Flash Pro, and I want to be able to play it in Flash Catalyst.  I'm using 5.5 of both versions, btw.  I export the Flash Pro video to a .mov file and then use Media Encoder to make that a .flv file.  I bring that file into FC and publish to web.  However, when I put those 'deploy to web' files on my website, the video doesn't play.  Everything else works except for the video.  So I put a generic, short .flv file that I downloaded from the internet into my FC file.  I published it to my website again, and everything worked fine.  The video played.  So obviously the problem with my video must be in the encoding process.
    How should I do this?  I read one article online that said when I export a .mov file for FC, I should make sure that I don't have 'Fast - Compressed Header' selected in the Streaming options.  Well, I checked and I don't.  It's just under regular 'Fast'.  So what am I doing wrong here?  I've even tried converting my .mov file to a f4v file, and that doesn't work.  Help here would be so greatly appreciated.

    Ah.  I think they just tested the .html file.  Though, they were trying nearly everything yesterday, so they might have tried the swf file, too.  I'll ask him this afternoon.  There's a webpage included in both deploy-to-web and run-local folders.  Both are entitled main.html.  I'm looking at both codes in Dreamweaver to see what would be different, how the code is calling to the flv video, and I can't see any change!  I switch from one code view to the other, and nothing is different.  The only difference is that in the video size area, the html file from the run-local folder is bigger.  So obviously something more was put into the run-local html file, but what I don't know.  I can't figure that out from the code.  Here's the code from the run-local file, though it looks the same in the deploy-to-web html file, too.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
        <!--
        Smart developers always View Source.
        This application was built using Adobe Flex, an open source framework
        for building rich Internet applications that get delivered via the
        Flash Player or to desktops via Adobe AIR.
        Learn more about Flex at http://flex.org
        // -->
        <head>
            <title></title>
            <meta name="google" value="notranslate" />        
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
                 the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
                 the percentage of the height of its parent container, which has to be set explicitly.  Fix for
                 Firefox 3.6 focus border issues.  Initially, don't display flashContent div so it won't show
                 if JavaScript disabled.
            -->
            <style type="text/css" media="screen">
                html, body  { height:100%; }
                body { margin:0; padding:0; overflow:auto; text-align:center;
                       background-color: #ffffff; }  
                object:focus { outline:none; }
                #flashContent { display:none; }
            </style>
            <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
            <!-- BEGIN Browser History required section -->
            <link rel="stylesheet" type="text/css" href="history/history.css" />
            <script type="text/javascript" src="history/history.js"></script>
            <!-- END Browser History required section --> 
            <script type="text/javascript" src="swfobject.js"></script>
            <script type="text/javascript">
                // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
                var swfVersionStr = "10.2.0";
                // To use express install, set to playerProductInstall.swf, otherwise the empty string.
                var xiSwfUrlStr = "playerProductInstall.swf";
                var flashvars = {};
                var params = {};
                params.quality = "high";
                params.bgcolor = "#ffffff";
                params.allowscriptaccess = "sameDomain";
                params.allowfullscreen = "true";
                var attributes = {};
                attributes.id = "Main";
                attributes.name = "Main";
                attributes.align = "middle";
                swfobject.embedSWF(
                    "Main.swf", "flashContent",
                    "405", "350",
                    swfVersionStr, xiSwfUrlStr,
                    flashvars, params, attributes);
                // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
                swfobject.createCSS("#flashContent", "display:block;text-align:left;");
            </script>
        </head>
        <body>
            <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
                 JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
                 when JavaScript is disabled.
            -->
            <div id="flashContent">
                <p>
                    To view this page ensure that Adobe Flash Player version
                    10.2.0 or greater is installed.
                </p>
                <script type="text/javascript">
                    var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
                    document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
                                    + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
                </script>
            </div>
            <noscript>
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="405" height="350" id="Main">
                    <param name="movie" value="Main.swf" />
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="#ffffff" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <param name="allowFullScreen" value="true" />
                    <!--[if !IE]>-->
                    <object type="application/x-shockwave-flash" data="Main.swf" width="405" height="350">
                        <param name="quality" value="high" />
                        <param name="bgcolor" value="#ffffff" />
                        <param name="allowScriptAccess" value="sameDomain" />
                        <param name="allowFullScreen" value="true" />
                    <!--<![endif]-->
                    <!--[if gte IE 6]>-->
                        <p>
                            Either scripts and active content are not permitted to run or Adobe Flash Player version
                            10.2.0 or greater is not installed.
                        </p>
                    <!--<![endif]-->
                        <a href="http://www.adobe.com/go/getflashplayer">
                            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
                        </a>
                    <!--[if !IE]>-->
                    </object>
                    <!--<![endif]-->
                </object>
            </noscript>    
       </body>
    </html>
    But I don't see anything where it calls to my bathinline.flv file.  Yet this one plays just fine.  I've played both .html files, and only the run-local html file plays fine on my computer (not viewing from website this time).  So I agree with you that I think it's a pathing issue on the deploy to web thing, but I have no idea what.  The code isn't showing any difference.
    Any more ideas.  You've been really, really helpful so far!

  • Looking for an off line version of the help file for lion server that I can print

    I would like to find an offline version of the help file for lion server
    Im a newbie trying to set up a home server for our macs and Iphones

    Go to this URL using Safari on your mac:
    https://help.apple.com/advancedserveradmin/mac/10.7/print.html?lang=en#printBook
    Then press cmd+p and from the print menue choose PDF and then Save as PDF and there you have it.

  • Error in compiling Flex application (1). Consult log file for details.

    Dear All,
    when i deploy the application from VC i am facing the below issue.
    Error in compiling Flex application (1). Consult log file for details.
    Please help us.
    Regards,
    Suman

    Hi Juan,
    Please look into the below issue.
    Error in compiling Flex application: java.lang.InternalError: Can't connect to X11 window server using '172.16.12.41:0.0' as the value of the DISPLAY variable.
       at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
       at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:175)
       at java.lang.J9VMInternals.initializeImpl(Native Method)
       at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
       at java.lang.Class.forNameImpl(Native Method)
       at java.lang.Class.forName(Class.java:119)
       at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)
       at macromedia.fonts.JREFontManager.initializeSystemFonts(JREFontManager.java:242)
       at macromedia.fonts.JREFontManager.createSetForSystemFont(JREFontManager.java:58)
       at macromedia.fonts.CachedFontManager$FontCache.fetch(CachedFontManager.java:109)
       at macromedia.util.LRUCache.get(LRUCache.java:114)
       at macromedia.fonts.JREFontManager.getEntryFromSystem(JREFontManager.java:186)
       at macromedia.swf.builder.tags.FontBuilder.<init>(FontBuilder.java:52)
       at macromedia.css.FontFaceRule.initialize(FontFaceRule.java:82)
       at macromedia.css.StyleDocumentHandler.endFontFace(StyleDocumentHandler.java:36)
       at org.apache.batik.css.parser.Parser.parseFontFaceRule(Unknown Source)
       at org.apache.batik.css.parser.Parser.parseStyleSheet(Unknown Source)
       at macromedia.css.StyleParser.init(StyleParser.java:165)
       at macromedia.css.StyleParser.<init>(StyleParser.java:89)
       at macromedia.css.StyleSheet.parse(StyleSheet.java:71)
       at flex.compiler.parser.MxmlParser$4.end(MxmlParser.java:1123)
       at flex.compiler.parser.MxmlParser.endElement(MxmlParser.java:402)
       at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
       at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
       at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at javax.xml.parsers.SAXParser.parse(Unknown Source)
       at javax.xml.parsers.SAXParser.parse(Unknown Source)
       at flex.compiler.parser.MxmlParser.parseDocument(MxmlParser.java:4363)
       at flex.compiler.MxmlLoader.parse(MxmlLoader.java:277)
       at flex.compiler.MxmlLoader.loadComponentType(MxmlLoader.java:178)
       at flex.compiler.MxmlLoader.loadComponent(MxmlLoader.java:204)
       at flex.compiler.CachedComponentLoader.getComponent(CachedComponentLoader.java:197)
       at flex.compiler.CachedComponentLoader.loadDefinition(CachedComponentLoader.java:101)
       at flex.compiler.CachedComponentLoader.getDefinition(CachedComponentLoader.java:263)
       at flex.compiler.CompositeLoader.getDefinition(CompositeLoader.java:54)
       at flex.compiler.linker.Loader.getType(Loader.java:266)
       at flex.compiler.linker.Loader.findType(Loader.java:248)
       at flex.compiler.CompilerPackageManager.loadType(CompilerPackageManager.java:629)
       at flex.compiler.MxmlCompiler.openDocument(MxmlCompiler.java:61)
       at flex.compiler.MxmlCompiler.compile(MxmlCompiler.java:234)
       at flex.tools.Mxmlc.main(Mxmlc.java:166)
    Regards,
    Suman

Maybe you are looking for