Split subscribtion package and allocate to differe...

Hi everyone,
I'm considering buying subscription packages for members of my team. Would it be possible with skype manager to split the number of minutes and allocate them to several skype accounts?
E.g. I buy a 120 minutes package for outgoing calls to Tanzania. Would it be possible for me to split the package and to allocate 60 minutes to 2 different skype accounts? Or, must I buy a 60 minutes package for each of them?
Thanks a lot,
Louis

As you found out...  you can not have multiple build functions.   I always though multiple build functions == multiple PKGBUILDs. 
Can you build both server and client at once?

Similar Messages

  • Split Directory Packaging and Deployment Question

    Hello Rob Woollen and All,
    I have a question about packaging and deployment with the "split directory structure"
    in WebLogic Server 8.1.
    Specifically, how does one go about deciding which classes to put in myEnterpriseApp/myWebApp/WEB-INF/classes,
    versus myEnterpriseApp/myEjbModule, versus myEnterpriseApp/APP-INF/classes?
    I think the answer to the first part is easy enough: if there are classes depended
    on by, say, the servlets in a web app, but not depended on anywhere else in the
    enterprise app, then those classes should go in WEB-INF/classes.
    It's the other part of the question that gives me trouble. I use local interfaces
    on my session beans. Let's say I have a domain object class returned from a session
    bean method and depended on by the web app. If I put that domain object class
    under myEnterpriseApp/myEjbModule, then the web app can see it by virtue of the
    classloader arrangement.
    But the wlcompile Ant target supposedly compiles stuff to build/APP-INF/classes.
    What stuff? How does it decide? I haven't experimented and empirically observed
    yet, but I couldn't find the answer in the documentation and tutorials. Is it
    looking for java source files under src/myEnterpriseApp but not under myWebApp
    or myEjbModule? In general, does BEA have any recommendations in this area?
    Thanks,
    Randy

    "Randy Stafford" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi Mark,
    Thanks for the reply. I don't have 8.1 installed yet, so I can'tempirically
    observe the example's behavior. But I downloaded the example andinspected the
    code. It answers some, but not all, of my questions.Where to start.
    In 8.1 we have made optimizations to J2EE packaging. Mostly this is about
    not having to use manifest classpath's to do sharing of of common classes.
    MF Cp's are a pain to configure. You put your classes in one location in
    the ear and then EVERY module has to have a MF CP entry pointing to that
    location, and then you actually have N number of classes loaded per module.
    The mechanism to share classes across all modules is APP-INF/lib and
    APP-INF/classes. The benefit is that APP-INF is shared across all modules.
    So to your question below you could just put it in the EJB module, BUT if
    you have mutliple EJBs that you split into seperate modules your back tot
    the same issue. So APP-INF is just the simplist solution over-all.
    Split-dir is a specified way to lay out disk your src files
    Split-dir
    From code inspection, it looks like the JSP and EJB (therefore the web appmodule
    and EJB module) both depend on the AppUtils class, which is not inAPP-INF, but
    rather in a directory under the enterprise app directory that does notrepresent
    a web app module or EJB module. In the build file's compile target, is itthe
    wlcompile task invocation that causes compilation of AppUtils.java? Or isit
    the ant task invocation (with "build.appStartup" as the value of thetarget attribute)
    that causes compilation of AppUtils.java due to the dependency ofApplicationStartup
    on AppUtils? And what subdirectory of the build directory doesAppUtils.class
    end up in?
    Why not just put AppUtils.java in the EJB module? Both dependent moduleswould
    still be able to see it by virtue of the classloader arrangement. Doesputting
    it in outside of all dependent modules represent a convention that BEArecommends?
    >
    Finally, why not put applicationresource.properties in the same place asits user
    AppUtils.java?
    Thanks,
    Randy
    "Mark Griffith" <[email protected]> wrote:
    Randy:
    (Rob may post later, but here is my take)
    "Randy Stafford" <[email protected]> wrote in message
    news:[email protected]...
    Hello Rob Woollen and All,
    I have a question about packaging and deployment with the "split
    directory
    structure"
    in WebLogic Server 8.1.
    Specifically, how does one go about deciding which classes to put inmyEnterpriseApp/myWebApp/WEB-INF/classes,
    versus myEnterpriseApp/myEjbModule, versusmyEnterpriseApp/APP-INF/classes?
    I think the answer to the first part is easy enough: if there are
    classes
    depended
    on by, say, the servlets in a web app, but not depended on anywhereelse
    in the
    enterprise app, then those classes should go in WEB-INF/classes.
    It's the other part of the question that gives me trouble. I use localinterfaces
    on my session beans. Let's say I have a domain object class returnedfrom
    a session
    bean method and depended on by the web app. If I put that domain
    object
    class
    under myEnterpriseApp/myEjbModule, then the web app can see it by
    virtue
    of the
    classloader arrangement.
    But the wlcompile Ant target supposedly compiles stuff tobuild/APP-INF/classes.
    What stuff? How does it decide?wlcompile has a module factory. If a directory is claimed by a module
    factory then it is compiled by that specific module compiler. The rules
    for
    module definition follow the same J2EE formatting rules.
    So:
    /myejb/
    would be identified as a ebj module by:
    */myejb/meta-inf/ejb-jar.xml
    */myejb/myejb.ejb (EJBGen file)
    then src files (*.java) will be compiled to
    $BUILD_DIR/myejb/
    /myweb/
    would be identifid as a web module by:
    */myweb/WEB-INF/web.xml
    Also for webapps
    /myweb/WEB-INF/src/*.java
    will be compiled ot
    $BUILD_DIR/myweb/WEB-INF/classes
    We choose WEB-INF/src following the struts precedence.
    So a plain old module that has noting but .java files in it will go to
    $BUILD_DIR/APP-INF/classes
    If you have a jar of classes that you need to share across the entire
    ear,
    you would check it into your src tree at:
    $SRC_DIR/APP-INF/lib/mycommon.jar
    You can check out an example at:
    $BEA_HOME/weblogic81/samples/server/examples/src/examples/splitdir/helloWorl
    dEar
    Hope this helps.
    cheers
    mbg
    I haven't experimented and empirically observed
    yet, but I couldn't find the answer in the documentation and tutorials.Is it
    looking for java source files under src/myEnterpriseApp but not undermyWebApp
    or myEjbModule? In general, does BEA have any recommendations in thisarea?
    Thanks,
    Randy

  • [SOLVED] Splitting grub2 package as grub2-bios and grub2-efi

    Hi all,
             I currently maintain the grub2-efi-bzr http://aur.archlinux.org/packages.php?ID=40290 and grub2-bios-bzr http://aur.archlinux.org/packages.php?ID=41055 AUR packages. I proposed a split PKGBUILD to tpowa and pressh for grub2 package based on requests at https://bugs.archlinux.org/task/19838 and https://bugs.archlinux.org/task/20419 . The PKGBUILD creates 4 packages grub2-common, grub2-bios, grub2-efi-x86_64, grub2-efi-i386.
    I need your impressions and suggestions on improving the PKGBUILD, especially in avoiding the use of multilib toolchain. Thanks in advance.
    grub2-bios for Archlinux i686 and x86_64 (multilib needed in x86_64) - compiled as any in Arch64
    grub2-bios for Archlinux i686 and x86_64 (multilib needed in x86_64) - compiled as any in Arch64
    grub2-efi-x86_64 for Archlinux i686 and x86_64 (no need for multilib in x86_64, not possible to compile in i686) - compiled as any in Arch64
    I currently use x86_64 Archlinux with gcc-multilib from the official repo. I do not have i686 linux (either Arch or any other distro) installed. My system compiles both grub2-efi-x86_64 and grub2-efi-i386 using the below PKGBUILD. I use only grub2-efi-x86_64 (or x86_64-EFI) in my system.
    _grub2_rev=3040
    _grub2_lua_ver=19
    _grub2_gpxe_ver=12
    _grub2_ntldr_ver=13
    _grub2_915_ver=6
    _USE_MULTILIB=1
    pkgname=('grub2-common' 'grub2-bios' 'grub2-efi-i386')
    pkgbase="grub2"
    pkgver="1.99beta0_r${_grub2_rev}"
    pkgrel=1
    url="http://www.gnu.org/software/grub/"
    arch=('i686' 'x86_64')
    license=('GPL3')
    optdepends=()
    makedepends=('bdf-unifont' 'python2' 'xz' 'autogen' 'texinfo' 'help2man' 'gettext')
    options=(strip docs zipman !emptydirs)
    groups=('grub2')
    conflicts=()
    provides=()
    # source=("ftp://alpha.gnu.org/gnu/grub/grub-${pkgver}.tar.gz"
    source=("http://dl.dropbox.com/u/9710721/grub2_sources/grub2_r${_grub2_rev}.tar.xz"
    "http://dl.dropbox.com/u/9710721/grub2_sources/grub2_extras_lua_r${_grub2_lua_ver}.tar.xz"
    "http://dl.dropbox.com/u/9710721/grub2_sources/grub2_extras_gpxe_r${_grub2_gpxe_ver}.tar.xz"
    "http://dl.dropbox.com/u/9710721/grub2_sources/grub2_extras_ntldr-img_r${_grub2_ntldr_ver}.tar.xz"
    "http://dl.dropbox.com/u/9710721/grub2_sources/grub2_extras_915resolution_r${_grub2_915_ver}.tar.xz"
    'grub2.default'
    'grub.cfg.example'
    '20_memtest86+'
    '05_archtheme')
    noextract=("grub2_extras_lua_r${_grub2_lua_ver}.tar.xz"
    "grub2_extras_gpxe_r${_grub2_gpxe_ver}.tar.xz"
    "grub2_extras_ntldr-img_r${_grub2_ntldr_ver}.tar.xz"
    "grub2_extras_915resolution_r${_grub2_915_ver}.tar.xz")
    sha256sums=('50e17683b972c0f5aab9b252af6c800bdc6068aab3654059046a435a3c5eccb6'
    '4d092a8780342a0f7fb5f5f92dc3b123fb5dd583ba137357630c56d416ed3114'
    '8ce1b6b89ef0e3545736477d4c4418524e32c7fb9ba40c67dcebfb84b98cde66'
    '554e9d65805ac61ca9a8c7cecdf6e7d28375dc28b3984140faef0e929e1ebd5b'
    'f0bd90bbbad4b07ec2053d4056f7c5252e95e97477af4206df59ec2d72d88ce0'
    '9dc7834514deabba3eb3ed19d0c7d73e3ab0114b7cd8a2eb6b17e8b7a6328143'
    '8128da77d8e8c86077fde561ba107756ece744ad54a16161c637ce73f836a84a'
    'ba0f871ee93760d14d7f19709bb875af4a863a758776a23519ca7100a63da295'
    '6628b70b857c024297af38cf519bfe7d518a122030ab5d0958677a60ddff6cdd')
    # DESTARCH="i686"
    DESTARCH="x86_64"
    if [ "${CARCH}" = 'x86_64' ] && [ "${_USE_MULTILIB}" = '1' ]
    then
    makedepends=(${makedepends[@]} 'gcc-multilib' 'gcc-libs-multilib' 'lib32-glibc' 'binutils-multilib' 'libtool-multilib')
    _EFIEMU="--enable-efiemu"
    _CFLAGS=""
    _HOST="x86_64"
    if [ "${DESTARCH}" = 'i686' ]
    then
    _CFLAGS="-m32"
    _HOST="i686"
    fi
    elif [ "${CARCH}" = 'x86_64' ] && [ "${_USE_MULTILIB}" = '0' ]
    then
    echo "This package can be built only in a i686 system or in a x86_64 system using gcc-multilib. Exiting."
    exit 1
    fi
    if [ "${CARCH}" = 'i686' ]
    then
    _EFIEMU="--disable-efiemu"
    if [ "${DESTARCH}" = 'x86_64' ]
    then
    _CFLAGS="-m32 -static"
    _HOST="i686"
    fi
    fi
    build_grub2-common_and_bios() {
    rm -rf ${srcdir}/grub2_bios_${DESTARCH} || true
    cp -r ${srcdir}/grub2 ${srcdir}/grub2_bios_${DESTARCH}
    cd ${srcdir}/grub2_bios_${DESTARCH}
    mkdir ${srcdir}/grub2_bios_${DESTARCH}/grub2-extras/
    cd ${srcdir}/grub2_bios_${DESTARCH}/grub2-extras/
    bsdtar xf ${srcdir}/grub2_extras_lua_r${_grub2_lua_ver}.tar.xz
    bsdtar xf ${srcdir}/grub2_extras_gpxe_r${_grub2_gpxe_ver}.tar.xz
    bsdtar xf ${srcdir}/grub2_extras_ntldr-img_r${_grub2_ntldr_ver}.tar.xz
    bsdtar xf ${srcdir}/grub2_extras_915resolution_r${_grub2_915_ver}.tar.xz
    cd ${srcdir}/grub2_bios_${DESTARCH}
    export GRUB_CONTRIB=${srcdir}/grub2_bios_${DESTARCH}/grub2-extras/
    ## Archlinux changed default /usr/bin/python3, need to use /usr/bin/python2 instead
    cp ${srcdir}/grub2_bios_${DESTARCH}/autogen.sh ${srcdir}/grub2_bios_${DESTARCH}/autogen_unmodified.sh
    sed -i 's|python|python2|' ${srcdir}/grub2_bios_${DESTARCH}/autogen.sh
    ${srcdir}/grub2_bios_${DESTARCH}/autogen.sh
    echo
    mkdir ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS
    cd ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS
    CFLAGS="${_CFLAGS}" ${srcdir}/grub2_bios_${DESTARCH}/configure --with-platform=pc \
    --host=${_HOST} \
    --program-transform-name=s,grub,grub2, \
    --enable-mm-debug \
    ${_EFIEMU} \
    --enable-grub-mkfont \
    --prefix=/usr \
    --bindir=/bin \
    --sbindir=/sbin \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info \
    --sysconfdir=/etc
    echo
    CFLAGS="${_CFLAGS}" make
    echo
    ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS/grub-mkfont --output=${srcdir}/unifont.pf2 /usr/share/fonts/misc/unifont.bdf || true
    ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS/grub-mkfont --ascii-bitmaps --output=${srcdir}/ascii.pf2 /usr/share/fonts/misc/unifont.bdf || true
    build_grub2-efi-i386() {
    mkdir ${srcdir}/grub2_efi/BUILD_EFI_i386
    cd ${srcdir}/grub2_efi/BUILD_EFI_i386
    CFLAGS="${_CFLAGS}" ${srcdir}/grub2_efi/configure --with-platform=efi \
    --target=i386 \
    --host=${_HOST} \
    --program-transform-name=s,grub,grub2, \
    --enable-mm-debug \
    --disable-efiemu \
    --prefix=/usr \
    --bindir=/bin \
    --sbindir=/sbin \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info \
    --sysconfdir=/etc
    echo
    CFLAGS="${_CFLAGS}" make
    echo
    build_grub2-efi() {
    rm -rf ${srcdir}/grub2_efi || true
    cp -r ${srcdir}/grub2 ${srcdir}/grub2_efi
    rm -rf ${srcdir}/grub2
    cd ${srcdir}/grub2_efi
    mkdir ${srcdir}/grub2_efi/grub2-extras/
    cd ${srcdir}/grub2_efi/grub2-extras/
    bsdtar xf ${srcdir}/grub2_extras_lua_r${_grub2_lua_ver}.tar.xz
    bsdtar xf ${srcdir}/grub2_extras_gpxe_r${_grub2_gpxe_ver}.tar.xz
    cd ${srcdir}/grub2_efi
    export GRUB_CONTRIB=${srcdir}/grub2_efi/grub2-extras/
    ## Archlinux changed default /usr/bin/python3, need to use /usr/bin/python2 instead
    cp ${srcdir}/grub2_efi/autogen.sh ${srcdir}/grub2_efi/autogen_unmodified.sh
    sed -i 's|python|python2|' ${srcdir}/grub2_efi/autogen.sh
    ${srcdir}/grub2_efi/autogen.sh
    echo
    build_grub2-efi-i386
    echo
    build() {
    echo
    build_grub2-common_and_bios #
    echo
    build_grub2-efi #
    echo
    package_grub2-common() {
    pkgdesc="The GNU GRand Unified Bootloader version 2 - Files common for all platforms"
    install="grub2-common.install"
    depends=('sh' 'xz' 'freetype2' 'mtools' 'dosfstools')
    conflicts=('grub2')
    backup=('etc/default/grub' 'etc/grub.d/40_custom')
    cd ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS
    make DESTDIR=${pkgdir} install
    ## install grub2-extras ntldr-img's grubinst as grub2-grubinst
    install ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS/grub-core/grubinst ${pkgdir}/sbin/grub2-grubinst || true
    ## remove platform specific files
    rm -rf ${pkgdir}/usr/lib/grub2/
    rm -rf ${pkgdir}/usr/share/grub2/
    ## remove some problamatic files - may work properly in future
    rm -rf ${pkgdir}/etc/bash_completion.d/
    cp ${pkgdir}/sbin/grub2-install ${pkgdir}/sbin/grub2_bios-install
    cp ${pkgdir}/sbin/grub2-install ${pkgdir}/sbin/grub2_efi_x86_64-install
    cp ${pkgdir}/sbin/grub2-install ${pkgdir}/sbin/grub2_efi_i386-install
    sed -i "s|^\(target_cpu\)=.*|\1=i386|; \
    s|^\(platform\)=.*|\1=pc|" \
    ${pkgdir}/sbin/grub2_bios-install
    sed -i "s|^\(target_cpu\)=.*|\1=x86_64|; \
    s|^\(platform\)=.*|\1=efi|" \
    ${pkgdir}/sbin/grub2_efi_x86_64-install
    sed -i "s|^\(target_cpu\)=.*|\1=i386|; \
    s|^\(platform\)=.*|\1=efi|" \
    ${pkgdir}/sbin/grub2_efi_i386-install
    ## install the /etc/grub.d/ files
    install ${startdir}/05_archtheme ${pkgdir}/etc/grub.d/05_archtheme
    install ${startdir}/20_memtest86+ ${pkgdir}/etc/grub.d/20_memtest86+
    ## install the unifont files
    install ${srcdir}/unifont.pf2 ${pkgdir}/etc/grub.d/unifont.pf2 || true
    install ${srcdir}/ascii.pf2 ${pkgdir}/etc/grub.d/ascii.pf2 || true
    ## install /etc/default/grub
    install -Dm644 ${srcdir}/grub2.default ${pkgdir}/etc/default/grub
    ## install example grub2 config file
    install -Dm755 ${srcdir}/grub.cfg.example ${pkgdir}/etc/grub.d/grub.cfg.example
    ## rename grub.info to grub2.info
    mv ${pkgdir}/usr/share/info/grub.info ${pkgdir}/usr/share/info/grub2.info || true
    export CARCH="${DESTARCH}"
    package_grub2-bios() {
    pkgdesc="The GNU GRand Unified Bootloader version 2 - Built for PC BIOS"
    arch=('any')
    depends=(grub2-common=${pkgver})
    replaces=('grub2')
    install="grub2-bios.install"
    cd ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS
    make DESTDIR=${pkgdir} install
    ## remove non platform-specific files
    rm -rf ${pkgdir}/bin/
    rm -rf ${pkgdir}/sbin/
    rm -rf ${pkgdir}/etc/
    rm -rf ${pkgdir}/usr/share/info/
    rm -rf ${pkgdir}/usr/share/man/
    rm -rf ${pkgdir}/usr/lib/grub/
    package_grub2-efi-i386() {
    pkgdesc="The GNU GRand Unified Bootloader version 2 - i386 UEFI version"
    arch=('any')
    depends=("grub2-common=${pkgver}" 'efibootmgr-git')
    replaces=('grub2-efi-x86')
    install="grub2-efi.install"
    cd ${srcdir}/grub2_efi/BUILD_EFI_i386
    make DESTDIR=${pkgdir} install
    ## remove non platform-specific files
    rm -rf ${pkgdir}/bin/
    rm -rf ${pkgdir}/sbin/
    rm -rf ${pkgdir}/etc/
    rm -rf ${pkgdir}/usr/share/info/
    rm -rf ${pkgdir}/usr/share/man/
    rm -rf ${pkgdir}/usr/lib/grub/
    sed -i "s|^\(_EFI_ARCH\)=.*|\1=i386|" ${startdir}/grub2-efi.install
    Last edited by skodabenz (2011-01-30 19:36:25)

    The package is now in testing repo and will soon be moved to extra repo. Solved by splitting the PKGBUILDs and through direct interaction with grub2 maintainer using irc.

  • Packaging and Different Directories

    Hi there,
    I am trying to build an application that will store plugins in a separate directory to the main program. For example, if the main program is at c:/myapp then the plugins are at c:/myapp/plugins . The plugins are also java files.
    I want to be able to access these plugins to use them in my program - is there any way this can be done WITHOUT modifying the classpath?
    This is on a similar note, but I have tried to package the plugins up into a plugins package and then access it, however I get issues trying to talk between files in the same package (example, 2 plugins talking to each other). How can I get package files to talk to each other when they both co-exist in the exact same package. Shouldn't this already be acceptable communication if I have .; in my classpath?
    Thank you for your efforts, I know I keep bringing up the hard questions :)
    WATTO

    OK, here comes the questions... :)
    I have successfully been able to load class files from a different directory using the URLClassLoader, however when it loads it complains that it can't access a variable in the superclass. The Superclass is another class that I have made, which is located in the main program directory, but it is not in the same directory as the plugin. So, this tells me that it has loaded the plugin class using a separate classpath to that used by the program, otherwise it would have been easily able to find the superclass.
    So, I have tried copying/moving the superclass into the same directory as the plugin, but still it says that it is unable to access the superclass.
    The way I have been working this so far is that I compile the plugin in the main program directory, so that the superclass and other relationships are preserver, and then move the plugin class file into the plugins directory.
    Can anyone offer any suggestions as to why this would not be working. Does anyone know how the URLClassLoader uses the classpath of the program? Basically, why is it not finding my superclass even if the superclass is in the same directory as the class I am loading, and how can I solve the problem?
    Just to clarify, it IS finding the plugin, so I'm not getting those ClassNotFound exceptions.
    Thanks for any help you can provide.
    WATTO

  • [gambas2] Splitted package and testing repository available!

    Just following the bug report (http://bugs.archlinux.org/task/19318), now a repository is available to test gambas2 as a splitted package.
    The purpose of these packages is that it will allow the possibility to add an archlinux package generator to the gambas2 ide, avoiding to add the full list of gambas2 packages, for only installing a graphical application.
    The packages are built from a default archlinux installation, so no need to get testing repository enabled, i686 and x86_64 packages are available. Just add the following lines to your pacman.conf file:
    i686
    [gambarch]
    Server = http://gambarch.toile-libre.org/os/i686
    x86_64
    [gambarch]
    Server = http://gambarch.toile-libre.org/os/x86_64
    I hope you will find these useful. I will take a look to add gambas3 splitted svn packages.
    ++

    zodmaner wrote:
    neotuli wrote:I'm not so sure what you're talking about. It's up and running smooth
    Wow! The migration is finish? Great job guys! The migration from CVS to SVN is a very large undertaking and it's great to see that you guys have finally made it. Congrats guys.
    This is great news indeed! Thanks for informing us about this, neotuli.
    neotuli wrote:And yeah... we see the out of date flags, we even get a little spam every time you click one of them... but we're only human.
    Don't worry, we understand you.
    not quite..its seems community is going to take a bit longer got left behiend

  • Pkgman - a bash script for local package and PKGBUILD management

    hi all,
    here is a script which manages a local repository and lets you edit
    PKGBUILDs and other related files, automatically generates checksums,
    build packages, add them to your local repo and so on.
    it also has AUR support for submitting tarballs, leaving comments, etc.
    get it from here:
    http://sourceforge.net/projects/pkgman/
    and AUR package:
    http://aur.archlinux.org/packages.php?ID=17100
    you need abs, curl and pacman and optionally namcap and desktop-file-utils.
    RTFM online:
    http://sourceforge.net/apps/mediawiki/p … n_man_page
    first of all copy the pkgman.conf and AUR.conf files from /usr/share/pkgman to ~/.config/pkgman/  or ${XDG_CONFIG_HOME}/pkgman - if ${XDG_CONFIG_HOME} is set,
    edit these two files and then run
    pkgman --runmefirst
    pkgman doesn´t install anything. if you want it just builds the package and moves it to your local repository. install it then with pacman.
    it also has no dependency handling. there are many other tools which provide this.
    the main intention was to keep track of package versions, different PKGBUILD versions and own AUR submitted tarballs; also to keep a clean local repository and clean build directories.
    pkgman is stable now. i´m using it for months without any issues.
    however, if there are problems or feedback please post them here.
    vlad
    changelog:
    version 2.4:
           *pkgman now respects the PKGDEST and SRCDEST variables from makepkg.conf. (though it still moves the src.tar.gz and .pkg.tar.gz to package backup directory).
    version 2.5:
           *pkgman uses PKGDEST if SRCDEST not set in makepkg.conf.
    version 2.6 -> r26:
           *changed version system: version 2.6 is now r26!
           *minor changes: > pkgman uses now the $SHELL variable.
                                    > new and more comprehensible manpage description (thanks to bender02)
    version r27:
           *changed SRCDEST since it's only a cache dir. all files (pkg.tar.gz and src.tar.gz) go to PKGDEST.
    version r28:
           *added new variable ShellCommand to pkgman.conf. Default is $SHELL.
           *One might use an external application (like screen or xterm) to switch to build directory and edit files simultaneously.
    version r30:
           *minor changes. nothing crucial
    r32: *OverwriteExistingPackage isn't used anymore. one can delete it from ~/.config/pkgman/pkgman.conf.
           *minor changes
    version r33:
           *"-l|--list" also shows installed package version and available ABS/AUR PKGBUILD version for given package.
           *"-a|--abs" can now also be used with other options (like "-e")
    r39: * when backing up src.tarballs it asks whether to backup the source file or not
           * more detailed "--list" option - also shows if package is installed or not and available ABS/AUR version
           * added prompt to clean up directory after makepkg
           * when checking pkg.tar.gz also possibility to check for conflicts with files of already installed packages
           * use $PAGER instead of less
           * --help directly shows the manpage
           * --shorthelp shows a brief usage overview
           * added a custom prompt, but only when using bash (is somehow experimental - works fine here for me)
           * minor internal changes
           * pkgman also reads ~/.aurvote file for getting aur name and password. if one already uses aurvote then there is no need for the
             ~/.config/pkgman/AUR.conf file.
    r40: * new manual page & rewrite of usage function
           * both option "--flush" and "--flushall" were omitted in favor of the more versatile "--cleanup" option
           * pkgman <packagename> checks now if <packagename> is owned by user
           * backup option after each editing
           * added license
           * minor internal changes
    r41: * just small bug fixes, nothing crucial.
    r42: * more bugs fixed.
    r45: * new options added:
              >   --listversions: list local and available versions of installed packages from LocalPackages directory
              >  --getownpackages: synchronize local own packages with AUR
           * added new variable in pkgman.conf:
              > ListOutputInPager: output of, for example, "--list" or "--own" is piped into $PAGER
           * added a new optional dependency "desktop-file-utils" for validating desktop entry files
           * also supports now auto-generation of sha sums not only md5
           * internal fixes due to AUR interface changes:
              > use of json interface
              > correct parsing of package category
           * added 2 proto files (located under /usr/share/pacman):
              >  proto.desktop: a template for *.desktop files
              > PKGBUILD-lib32.proto: a template for lib32 packages for x86_64
           * some code changes and fixes
    r46: * added new option to pkgman.conf (AutoGenerateSums).
             > if AutoGenerateSums=no then pkgman asks whether to generate checksums or not.
             > if set to yes it behaves like in former versions.
    r52: * "--getownpackages" with more than 100 packages works again
           * added new option "--cachecopy":
              For each package in CacheCopyList (new variable in pkgman.conf) get existing package from pacman's cache directory - if
              CopyPkgFromCache (new variable in pkgman.conf) is set to yes - and/or create a source tarball of PKGBUILD and related files from ABS -
              if CopySrcFromABS (new variable in pkgman.conf) is set to yes - and copy them to package backup directory.
           * added new variables to pkgman.conf:
               > "CacheCopyList=file" - batch backup file, one package per line - default location is "$HOME/.config/pkgman/package.list".
               > "CopySrcFromABS=[yes|no]"
               > "CopyPkgFromCache=[yes|no]"
           * some bugfixes
           * docs completed
           * CacheCopyList should look like
    package1
    package2
    #this is a comment
    ! this too
    package3
    !package4
    r54: * renamed "--listversions" option to "--diffversions". makes more sense!
              from the man page:
                  pkgman --diffversions
                  Show differing ABS/AUR versions of installed packages from LocalPackages.
    r55: * minor changes.
    r57: * testing release
           * added a new option "--rollback":
               "pkgman <packagename> --rollback" - checks  http://arm.kh.nu for available package versions,
                                                          lets you choose one, fetches the package and
                                                          moves it to the <packagename> backup directory (if "--repoadd" is used).
    r59: * stable release
           * new option "--rollback" (see r57):
                   it checks http://arm.kh.nu (Arch Rollback Machine) for available package versions,
                   downloads chosen file and moves it to local repository (if "-r|--repoadd"  is used).
            * posting files/comments/etc to AUR should work now again.
    r65: *stable release
           * new option "-M,--meta" to create metapackages and add them and their dependencies to local repository.
              it searches for deps inside the backup directories, pacman's cache and if the packages are not available, it tries to fetch the missing
              dependencies from the Arch Rollback Machine site (http://arm.kh.nu).
    r66: * minor fixes
    r68: * some bugfixes
           * "--repoadd" and "--Reporemove" now accurately removes old packages from LocalRepository
    r69: * small bugfixes when listing packages with similar names
           * curl retries now 5 times if connection is not established
    r75: * "--cachecopy" does not try to dl sourcefiles when backing up ABS PKGBUILDs
           * some work on package splitting
           * further internal changes
    r76: * minor mistakes with "ln" purged
    r79: * mostly small changes
           * "--cleanup" now also removes uninstalled packages from LocalRepository
    r81 & r80: * added AUR v1.6.0 support (use more json)
                    * small ARM changes ("--rollback")
    r85:
          * pkgman supports pkg.tar.xz packages
          * some code rewrite, bugs purged (hopefully)
    r113:
          * pkgman now supports building split packages through makepkg.
             If you already use pkgman you need to rerun "pkgman --runmefirst" after updating.
          * new  "-t,--template" option ("pkgman <packagename> --template <alt. packagename> [--pkgbuildversion <version>] [options]").
             Useful to create a new PKGBUILD and use an existing one as a template.
          * new option: "--conf /path/to/alternate/conf/file" - Specify another configuration file.
          * pkgman now uses ${XDG_CONFIG_HOME}/pkgman or $HOME/.config/pkgman - if first not set - as the default location for its conf files.
    r116:
          * check inet conection when submitting src tarballs to AUR
          * some bugs
          * updated manpage on sf
    For further details please read the manual page.
    Last edited by DonVla (2010-04-28 11:56:59)

    I'm having some troubles with it (perhaps missing dependencies, and forgotten hardcoded dirs?):
    jan@aconcagua 8:20PM ~ % pkgman --runmefirst
    /usr/bin/pkgman: line 77: /home/jan/apps/skripte/archscripts/pkgman/share/pkgman/color.bash: No such file or directory
    /usr/bin/pkgman: line 1293: initcolor: command not found
    /usr/bin/pkgman: line 312: highlight: command not found
    /usr/bin/pkgman: line 312: error: command not found
    /usr/bin/pkgman: line 313: highlight: command not found
    /usr/bin/pkgman: line 313: error: command not found
    /usr/bin/pkgman: line 314: highlight: command not found
    /usr/bin/pkgman: line 314: error: command not found
    /usr/bin/pkgman: line 315: highlight: command not found
    /usr/bin/pkgman: line 315: error: command not found
    /usr/bin/pkgman: line 317: error: command not found
    /usr/bin/pkgman: line 318: error: command not found
    /usr/bin/pkgman: line 321: highlight: command not found
    /usr/bin/pkgman: line 321: msg: command not found
    /usr/bin/pkgman: line 329: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    touch: cannot touch `/bin/.pkgman.registered': Permission denied
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 337: msg: command not found
    curl: option --output: requires parameter
    curl: try 'curl --help' or 'curl --manual' for more information
    ^C/usr/bin/pkgman: line 209: cleanoutput: command not found
    /usr/bin/pkgman: line 209: cleanoutput: command not found
    (I terminated with ctrl-c).
    EDIT: errors resolved by correcting the path $HOME/apps/skripte/archscripts/pkgman/share/pkgman to /usr/share/pkgman in the pkgman itself.
    Last edited by bender02 (2008-05-23 01:28:58)

  • How to setup Sync and Stream for Different Photo Libraries?

    I've read through most posts, but still can't get ATV to both sync and stream photos.
    On my MBP I have my iTune library with music, movies, etc. I also have several iPhoto libraries for each year ('05, '06 '07, etc). I initially set up ATV to sync to my MBP iTune Library and my iPhoto '07 iPhoto library and everything went fine. Even if ATV->source->my music->photos, I get the photos streamed fine.
    The question is how do I stream the other iPhoto libraries? If I go into MBP-> iTunes->Devices->ATV->Photos and deselect sync, I can't select any other Photo Albums and lose the ones I just sync'ed. If I try ATV->source->my itune lib->connect to new iTunes->sync #, but then when I go to MBP-> iTunes->devices->ATV there is no window to insert the # to stream.
    What am I missing? Usually Apple is very logical, but this has me stumped. Basically I would like to sync and store my music on ATV, but be able to stream different photo libraries, the photos don't have to be stored on ATV. If I could sync some and stream others that would be better.
    Can anyone give me a step-by-step on how to do this? I must be missing a step somewhere. Thx

    Welcome to the  Discussion Forums.
    It's debatable whether you could ever sync and stream photos from the same library. tv v 1.1 gave that impression because it showed photos in a synced source and a streamed source when the source was the same library. However as they were effectively the same photos it was never really clear what was happening.
    Now that synced and streamed content is in the same menu under v 2.0 it really doesn't matter. If your itunes library is synced to your tv then you must sync your photos, if your itunes library is stream only then you must stream your photos.
    Moving on, because this doesn't actually address your problem, which is that you want to sync or stream multiple iphoto libraries from the same itunes library. Well you can't, although you have a couple of workarounds.
    If you must have multiple libraries, then you could open additional user accounts, stream the itunes libraries in those user accounts and allocate a single library to iphoto under each user account. This is quite messy if you have more than a couple of libraries and will not work with more than 5 libraries, which you may well have if you are working by years.
    Your second option and I don't think you'll like it too much is to put all your photos in one library. To be honest I'm not really sure why you split your photos up as you do, I would have thought that iphoto was more than capable of coping with photos from all years.

  • I'm trying to download office 365 small business package, and every time I try the website it says there is a runtime service error in the '/' application. Is this my mac or is it the website, and how can I fix it?

    I'm trying to download office 365 small business package, and every time I try the website it says there is a runtime service error in the '/' application. Is this my mac or is it the website, and how can I fix it?

    If a phone is sold from one friend to another and wants to use it on a different carrier the friend can contact the carrier it was sold by to request it unlocked.  I know AT&T, Verizon, and Sprint will give you the steps to unlock it as long as the original contract it was bought under has been completed.  eBay/Craigslist is really not the best place to try to get "unlocked phones" from, if it turns out the phone isn't unlocked then I'm really sorry you got stuck with that one and as stevejobsfan said above I would report them immediately and see if you can recover your money.  I sell phones for a living and this happens a lot

  • Package and Directory Structure

    Hello --
    I work in a group that supports 3 web sites. (b2b, b2c, b2e)
    We're just beginning to develop Java in-house and
    currently using Solaris and JDK 1.2.x.
    I need to propose a package and directory structure strategy.
    The "reverse the domain name" guideline makes sense to me.
    My first thoughts are: ("classes" dir could be created anywhere)
    classes/com/ppco/b2X/ <--- for .java and .class files (development)
    lib/ <--- for b2X JAR files (ready for test or production)
    util/ <--- for our utility classes like DBAccessor
    lib/ <--- for our JAR files
    sun/ <--- for classes like com.sun.mail pkg
    lib/ <--- for JAR files like mail.jar
    org/ <--- for classes in org.omg.CORBA pkg
    lib/ <--- for JAR files
    We need to handle 3rd party classes.
    Development would be done in the b2X tree and JAR files would
    be installed the lib/ dir for testing and release to production.
    Does anyone have recommendations or experiences to share ?
    Are there some things to avoid ?
    Thanks !
    Al

    Hello Al,
    you are on the right track. A typical convention I follow is:
    <project>
          bin - for startup scripts, etc. to run your application
          build - for build scripts (not necessary if you build using your IDE. See below.)
          classes - for my compiled classes
          lib - for my 3rd party libraries
          src - for my source code
          test - for my test code (see http://junit.org/ )
    That's the project hierarchy. The src (i.e. the package heirarchy) structure is another story.
    As you say, you start with the reverse domain name. This is to give your packages a unique namespace. After that, your best guide is practice. Packages can be larger or smaller, depending on your coding practices. Usually you would have these (exact names may differ), plus others:
          com/ppco/client
          com/ppco/server
          com/ppco/common
          com/ppco/db
    I think your break down of sun, org, etc. is a bit too much. If you would like to do so, however, I recommend you do the separation under /lib. This way, the top level project directory is not polluted by the different types of libraries in use.
    Regards,
    Manuel Amago.
    From build above: I would suggest you always build your release distribution directly with the JDK, not using any IDE compiler. This is because Sun's JDK is the reference implementation, thus, any compatibility issues are not yours.
    An easy way to achieve this is by using ANT (see http://jakarta.apache.ort/ant/ ).

  • Master package and Child Package

    Hi Experts,
    While doing the configuration for connection managers in a package I had noticed that if I don't hard code or give some invalid the user id and password for the database, even though it is configured it is throwing error while opening.
    Is it the right way of doing?
    Also when I run the master package all associated child packages are opening in different windows. Is it normal?
    Please advice.
    Regards
    Mukejee

    Hi Mukejee,
    Except for executing a SSIS package in BIDS, we can also execute a package using the following methods:
    Execute SSIS Package using DTEXEC.EXE Command Line Utility
    Execute SSIS Package using DTEXECUI.EXE Utility
    Execute SSIS Package using SQL Server Agent Job
    In each method, we can specify the package configurations for the package at runtime. For the detailed information, please see:
    http://www.mssqltips.com/sqlservertip/1775/different-ways-to-execute-a-sql-server-ssis-package/
    http://technet.microsoft.com/en-us/library/ms162810(v=SQL.105).aspx
    http://technet.microsoft.com/en-us/library/ms141701.aspx
    Regards,
    Mike Yin
    TechNet Community Support

  • Package and deploy Photoshop presets with Configurator panels ?

    Hi,
    is there any functionality available in either Configurator or the Extension Manager that might allow me to package and install some Photoshop presets (brushes, shapes, scripts etc) when I create a ZXP file ?.
    I work as an educator, and really like the idea that the Panels can be deployed so easily by novice users. It would be particularly useful if I could also add some content to the presets folder at the same time as installing a Panel.
    Thanks

    An example on how to configure the mxi file for installing  your personal items ( as an example i use burshes) :
    1-Create a new folder inside the directory :   Adobe Extension Manager/Samples/  and call it Photoshop
    2-go to Adobe Extension Manager/Samples/Dreamweaver/
    copy the DreamweaverBlank.mxi file, past it in the Photoshop folder you Have created and rename it PhotoshopBlank.mxi
    You will keep this file as a template.
    3-open the file you renamed with a text editor
    make the modifications  you see below and save it with a nameyoulike.mxi   (without spaces)
    <macromedia-extension
    name="name you want"
    version="number you want"
    The description above will appear in extension manager
    type="command">
    <!-- Describe the author -->
    <author name="your name" />
    <!-- List the required/compatible products -->
    <products>
    <product name="Photoshop" version="version" primary="true" />
    </products>
    instead of dreamweaver write Photoshop, and change also the version
    ( for example Photoshop CS4 is version 11.0,  CS5 is version 12.0)
    That will  target photoshop as program where to install your brush
    <!-- Describe the extension -->
    <description>
    <![CDATA[
    write a description  of the presets you are installing, this will appear in Extension Manager.
    ]]>
    </description>
    <!-- Describe where the extension shows in the UI of the product -->
    <ui-access>
    <![CDATA[
    write a description  of where the  presets you are delivering will be installed in PS.
    ]]>
    </ui-access>
    <!-- Describe the files that comprise the extension -->
    <files>
    <file name="Your brushes' name.abr" destination="$presetsfolder/brushes" />
    <file name="Your brushes' name2.abr" destination="$presetsfolder/brushes" />
    <file name="Your brushes' name3.abr" destination="$presetsfolder/brushes" />
    </files>
    describe the file that will be packaged and the path destination folder
    <!-- Describe the changes to the configuration -->
    <configuration-changes>
    </configuration-changes>
    </macromedia-extension>
    4- place your Your brushes' name.abr /Your brushes' name2.abr /Your brushes' name3.abr
    near the mxi file you have edited and personalized with the same brushes'name
    5- launch Extension Manager CSxx , go to File>Package Extension and go to  Adobe Extension Manager/Samples/ Photoshop and choose your nameyoulike.mxi
    If you want to target a different folder than Presets where to install your item see attribute in the pdf link 
    NOTE:
    if you want to install your items  (  the brushes in this example)   toghether the the installation of your panel  you have to edit   the  .mxi panel file and adding only the part that " Describe the files that comprise the extension":
    <file name="Your brushes' name.abr" destination="$presetsfolder/brushes" />
    May be you can now deploy your panel and items  immediately and have time to read more in the pdf when you'll have time

  • Automated packaging and deploying of WebCenter Spaces/Portal

    Hey,
    I'm using WebCenter PS5 (11.1.1.6) and was wondering if anyone has setup package and deployment scripts for use in Continuous Integration (CI) for Webcenter Portal and Spaces using Ant. From the documents online I can see that there is limited support for this:
    WebCenter Portal
    You can use the 'New...' wizard to generate an ant build which will build a .war for your Portal.jpr project. What I can't find is something that will generate an .ear for the entire .jws. Is there a way to do this through ant, wlst or other without doing a 'right-click' option in JDeveloper? It looks like the .ear generation adds a bit of extra stuff like the metadata archive and so couldn't fudge it through a normal <ear> task to wrap the .war.
    WebCenter Spaces
    So it looks like extending spaces requires quite a few different artifacts. The first being the extend.spaces.webapp.war, which is simple enough since the DesignWebCenterSpaces\WebCenterSpacesExtensionLibrary comes with an ant to do packaging and deployment. However it still leaves question marks for all the .ear files that contain Resources. It would seem you only have 2 choices here - right click deploy from JDeveloper or export as EAR from JDeveloper and then manually install. Are there any ojdeploy tasks etc for the individual spaces resources that could package and install into spaces?
    It looks like the only thing I can really properly automate at the moment is the extend.spaces.webapp.war deployment, and all the rest I will have to generate an EAR from within JDeveloper. I really want to avoid generating from JDeveloper as that means you have to check-in archives into source control which isn't good practice.
    Responses on this topic are next to none so I would really appreciate an answer if anyone has tried or done this.
    Cheers,
    Ross

    So I managed to find a way to build the EAR using ant/ojdeploy for the WebCenter Portal Application. See the following text section which is found in the given link:
    http://one-size-doesnt-fit-all.blogspot.com.au/2010/11/using-ojdeploy-and-ant-for-creating-adf.html
    Entirely separately to generating ADF libraries, if you wish to use the ojdeploy utility to create an EAR via the workspace, you do this by dropping the project option leaving the workspace, profile and outputfile options. If you do this under JDev 11.1.1.2.0 specifically you'll see the error message "Missing <workspace>, <project> or <profile> parameter in <deploy> element", caused by a bug in the ojdeploy utility, of which there is a patch available.
    So basically just drop the <ora:parameter name="project" value="${oracle.jdeveloper.project.name}"/> line in your ant script and it will use the .jws instead to build your project.

  • SQL SERVER 2014 - Project consistency check failed. The following inconsistencies were detected: package.dtsx. has a different ProtectionLevel than the project.

    I am getting the following error when I right click on a package in solution explorer and execute using SQL Server 2014:
    Project consistency check failed. The following inconsistencies were detected: package.dtsx. has a different ProtectionLevel than the project.
    Luckily my solution only has 10 packages.  I have verified and re-verified that everyone is set to dontsavesensitive.
    I have verified and re-verified that the solution has the protection level to dontsavesensitive.
    What on earth is going on here?  I am using windows authentication and have no need for the package to save any sensitive information, nor should there be any.
    Can someone please help me out here?
    The Degenerate Dimension

    Hi MMiligan,
    Just as the error message said, the exactly issue is that the package package.dtsx has a different ProtectionLevel property value than the project.
    So please double check the value of project ProtectionLevel property, like DontSaveSensitive, then make sure all packages in the project use the same ProtectionLevel value.
    If there is still an error message indicated that some packages use a different value, please right-click the indicated package to select View Code, then make sure there is a line like below(the DontSaveSensitive
    protection level corresponds to the value of 0):
    DTS:ProtectionLevel="0"
    The following similar thread is for your reference:
    http://stackoverflow.com/questions/18705161/protection-level-changed-mid-project-now-project-wont-build
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • prefer-application-packages and prefer-web-inf-classes not working

    Hi,
    I'm upgrading to Weblogic 10.3.2 an application that was running quite fine in Weblogic 8. But I don't manage to get it working in WL 10. I'm getting a Class Not Found error (javax/xml/stream/XMLStreamWriter) but that class is in one of the jar files of my application: "<war-file>/WEB-INF/lib"
    It seems a class loading problem but I'm using both <prefer-application-packages> and <prefer-web-inf-classes> and it's still not working. This is my weblogic-application.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-application>
    <prefer-application-packages>
    <package-name>javax.xml.stream.*</package-name>
    </prefer-application-packages>
    </weblogic-application>
    I'm deploying using an ear file wich contains a war file.
    Logs:
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [META-INF/cxf/cxf.xml]; nested exception is java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamWriter
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
         at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.doLoadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:109)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
         at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:131)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
         at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109)
         at org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:263)
         at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
         at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
         at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)
         at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
         ... 57 more
    Caused by: java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamWriter
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:42)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at org.apache.cxf.bus.spring.TunedDocumentLoader.loadDocument(TunedDocumentLoader.java:112)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
         ... 70 more
    Caused by: java.lang.ClassNotFoundException: javax.xml.stream.XMLStreamWriter

    Hi!
    We have the jar xbean-2.2.0.jar in APP-INF/lib. That one contains the class javax.xml.namespace.NameSpaceContext. I saw that the same class was in another jar as well. I've removed it from the second jar and now it's only in the xbean-2.2.0.jar. But I still get the same error. Maybe there is something wrong in my application.xml? I have all the jars in APP-INF/lib and in <war-file>/WEB-INF/lib
    Application.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
    <application id="Application_ID">
    <display-name>RaadgiverPM</display-name>
    <module>
    <web>
    <web-uri>rpm.war</web-uri>
    <context-root>/raadgiverPM</context-root>
    </web>
    </module>
    <library-directory>lib</library-directory>     
    </application>
    2010-09-06 11:05:07,856 735360 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient - [DELFI] Failed to initialize client at http://172.16.10.113:8090/mockRpmGrpMemberRltnpLSvo_Binding?wsdl
    java.lang.RuntimeException: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [META-INF/cxf/cxf.xml]; nested exception is java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.cxf.staxutils.W3CDOMStreamWriter.getNamespaceContext()Ljavax/xml/namespace/NamespaceContext;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/cxf/staxutils/W3CDOMStreamWriter, and the class loader (instance of <bootloader>) for interface javax/xml/stream/XMLStreamWriter have different Class objects for the type javax/xml/namespace/NamespaceContext used in the signature
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:96)
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
         at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)
         at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:106)
         at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)
         at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.newInstance(DynamicClientFactory.java:132)
         at groovyx.net.ws.AbstractCXFWSClient.createClient(AbstractCXFWSClient.java:198)
         at groovyx.net.ws.WSClient.initialize(WSClient.java:107)
         at groovyx.net.ws.IWSClient$initialize.call(Unknown Source)
         at no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient.initializeClient(DRWebServiceClient.groovy:47)
         at no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient$initializeClient$0.callCurrent(Unknown Source)
         at no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient.initializeClient(DRWebServiceClient.groovy:37)
         at no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient$initializeClient.callCurrent(Unknown Source)
         at no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient.<init>(DRWebServiceClient.groovy:33)
         at no.delfidata.dr.wsclients.drwsclients.GenericWebServiceClient.<init>(GenericWebServiceClient.groovy:12)
         at no.delfidata.dr.drintstd.channel.GenericWSClientManager.getClient(GenericWSClientManager.java:28)
         at no.delfidata.dr.drintstd.channel.impl.WSChannelImpl.getData(WSChannelImpl.java:46)
         at no.delfidata.dr.drintstd.integrationadapter.impl.AdapterWSImportRpmGrpMemberRltnpLSvo.getDataFromChannel(AdapterWSImportRpmGrpMemberRltnpLSvo.java:74)
         at no.delfidata.dr.drintstd.integrationadapter.AbstractIntegrationAdapter.getDataImportFromChannel(AbstractIntegrationAdapter.java:232)
         at no.delfidata.dr.drintstd.integrationadapter.AbstractIntegrationAdapter.getData(AbstractIntegrationAdapter.java:173)
         at no.delfidata.dr.drintstd.integrationengine.impl.IntegrationEngineImpl.importData(IntegrationEngineImpl.java:113)
         at no.delfidata.dr.drsvcstd.integration.impl.IntegrationServiceImpl.importCustomerData(IntegrationServiceImpl.java:117)
         at no.delfidata.dr.drsvcstd.integration.impl.StartUpService.openAndImportCustomer(StartUpService.java:81)
         at no.delfidata.dr.drstdgui.gui.control.ReceivingServletAction.execute(ReceivingServletAction.java:135)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at no.delfidata.dr.drbasis.gui.filter.MenuFilter.doFilter(MenuFilter.java:78)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at no.delfidata.common.gui.filter.SecurityFilter.doFilter(SecurityFilter.java:265)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [META-INF/cxf/cxf.xml]; nested exception is java.lang.LinkageError: loader constraint violation
    in interface itable initialization: when resolving method "org.apache.cxf.staxutils.W3CDOMStreamWriter.getNamespaceContext()Ljavax/xml/namespace/NamespaceContext;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/cxf/staxutils/W3CDOMStreamWriter, and the class loader (instance of <bootloader>)
    for interface javax/xml/stream/XMLStreamWriter have different Class objects for the type javax/xml/namespace/NamespaceContext used in the signature
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
         at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.doLoadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:109)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
         at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:131)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
         at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109)
         at org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:263)
         at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
         at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
         at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)
         at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
         ... 48 more
    Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.cxf.staxutils.W3CDOMStreamWriter.getNamespaceContext()Ljavax/xml/namespace/NamespaceContext;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/cxf/staxutils/W3CDOMStreamWriter, and the class loader (instance of <bootloader>) for interface javax/xml/stream/XMLStreamWriter have different Class objects for the type javax/xml/namespace/NamespaceContext used in the signature
         at org.apache.cxf.bus.spring.TunedDocumentLoader.loadDocument(TunedDocumentLoader.java:112)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
         ... 61 more

  • Split Output from Select into 2 different Cols

    Hi,
    I am new to oracle dev. Env Oracle 10g R2
    I need a help with the following.
    I have a select query that returns comma separated values.
    Column LIST1 in table svp_1.
    This needs to hold that data returned by the select query.
    Datatype of Column LIST1 varchar2(4000)
    I get the follwing error.
    ORA-19011: Character string buffer too small
    CREATE OR REPLACE PROCEDURE
    sale_temp( pType in Char,lDate in date) as
    cnt number;
    v_error_code NUMBER;
    v_error_msg VARCHAR2(2000);
    cursor c1 is select svp
    from sale
    where type = pType
    var1 c1%ROWTYPE;
    BEGIN
    UPDATE svp_1
    SET LIST1 = ( SELECT LTRIM( xmlagg (xmlelement (c, RTRIM(RELATED_SVP) || ',')).extract ('//text()'), ',' ) AS RELATED_SVP from (
    SELECT rtrim(BASE_SVP) BASE_SVP,
    rtrim(RELATED_SVP) RELATED_SVP
    from
    svp_enc se
    where
    se.effective date<= pDate
    and (se.expiration_date is null or se.expiration_date > plDate )
    and se.base_svp in
    ( var1.svp
    and se.RELATION_TYPE = '4'
    )group by base_svp)
    WHERE type = pType
    commit;
    dbms_output.put_line('UPDATE done' );
    end;
    end loop;
    close c1;
    END ;
    My requirement :
    In need to capture the data from the select query and update the column.
    The data needs to be returned as comma separated values.
    This data can also be split into 2 columns.....ie data split and updated into 2 cols ie LIST1 AND LIST2 ( can be added to existing table).
    What is the best way to do this?
    Is the below approach possilble?
    LOOP through cursor ...check the length of data....for the select query ....check length .if > 3990 byte.....then write into 2 plsql variables.....and update 2 cols....
    Is this apporach right, if so how to do that in the procedure ? Please give an example...
    Are there any other approaches...?
    All I need is to Split Output from Select into 2 different columns and avoid the ORA-19011: Character string buffer too small error.
    Thanks in advance.

    Re: ORA-19011: Character string buffer too small

Maybe you are looking for

  • 64-bit Vista - "No supported disc burners found"

    Hi, I'm running Windows Vista 64-bit on an HP Pavilion dv9000t laptop. The model DVD-R/W drive I have is "Matshita DVD-RAM UJ-850S". I'm unable to burn songs to CDs to make an audio CD. Under "Advanced in the preferences dialog, on the "Burning" tab,

  • Garageband is missing some loops! HELP!

    I created a song on garage band at my uni using their computers, i put it onto mine at home and am missing loads of loops! i have the newest version of garageband how can i get more loops? or simple get the ones that im missing??? HELP PLEASE it's fo

  • JCo login properties

    Hi all, I have coded a Java JCO call from Java to Abap in XI 3.0. The logon details have been stored in a properties file so it can be changed in the different environments. I have two questions: 1. Is this the best way to manage the changing details

  • Java dates from 0-11 or 1-12

    Hello In java Date, the months ranges from 0-11 . first january is thus 1/0/2003 (in dd/mm/yyyy form). But in almost all databases , month values are counted as 1-12 . That is first january becomes 1/1/2003 . Obviously we have to show the users month

  • CWBQM to remove MIC from Inspection plan

    We have requirement to remove few MIC from multiple inspection plan. SO I wanted to use CWBQM trx for that purpose. We maintain inspection plan with unique id of group and gp counter. Group 111 Counter 1 Gp 111 Countr 2 .Group 111 Counter 110 and man