PKGBUILD for an application with a hard coded path

Hello,
I was about to make a nice AUR package for an application I use (the Elance work tracker) and I had a few details I needed to clear up. This package is pretty easy to install and all of the deps are available in the aur, but I would like a more convenient way.
Problems:
It seems to best/only work using the java6 packages in AUR. These install in opt
It has a hard coded dependency on java being at /usr/bin/java
I want to become a more active contributor to the AUR as I have a home build directory with a bunch of stuff I compile and use myself and would love to contribute these with PKGBUILDs. I just want to know how this situation is normally handled and make sure I use the proper etiquette.
Thanks very much for your attention.
Chris

lrwxrwxrwx 1 root root         40 Sep 15 10:25 java -> /usr/lib/jvm/java-7-openjdk/jre/bin/java
/usr/bin/java is a symlink on my system, check if the java6 package changes that symlink .
If so, the hard coded dependency on /usr/bin/java is no problem.

Similar Messages

  • I want to create home page for my application with short URL

    I want to create home page for my application with short URL
    as when I want user to use my application user must go to URL like this
    http://127.0.0.1:7101/My-Project/faces/app/empModule/allEmployees/viewMyEmployees.jspxI want the user to use short URL , How can I use shorter URL not all this one.
    I want shorter URL for my application not to write full path .
    thanks in advance.
    Edited by: user611775 on Oct 31, 2010 10:21 PM

    Well,
    it's up to you. The first part (Mcit-Project-ViewController-context-root) is the context root which you define in the view controller project. 'faces' is the name the servlet filter reacts on. You can't omit it but shorten it in web.xml. The rest is your directory structure. I'm not sure how to shorten this other as to move the jspx files back into the web root folder.
    By the way an ADF faces app never uses the .jspx at the end of the url. If you specify '.jspx', you only render the page but don't start the work flow.
    Timo

  • Hard Coded Path Problem while using  WEBUTIL_C_API

    My 9i form is calling a C program using WEBUTIL_C_API it works fine with out any problem, if i hard code the path of DDL FILE as follows.
    f_handle := WEBUTIL_C_API.register_function('c:\winnt\system32\tabs.dll','buildit');
    If i remove the hard coded path then the form does not work.
    How can i overcome the probelem?
    Thanks

    The DLL has to be on the OS PATH.
    So it may be
    1) c:\winnt\system32 is not on your PATH (it should be)
    2) Maybe the PATH is too long, and c:\winnt\system32 is now too 'far back' to be used by the OS. Just move it forward.
    Similarly, if you put the DLL in another folder, then that folder should be on the PATH.
    If the above do not give a solution, it would be good to check with FileMon (freeware from www.sysinternals.com) to see if the OS is actually looking at your folder to locate the DLL.
    Regards - Roelof.

  • I have flash professional cc and I need air for desktop application with .exe or .air that should contain all swf's and captive air runtime in one Installer only . I don't want to install separate adobe air runtime .

    I need Air for desktop application either in .exe or in .air with embedded captive runtime just like .apk . I don't want to install adobe air separate . everything should come in installer
    I have adobe flash professional cc development tool , let me know whether I have to go with other development tool???
    your reply will  increase my confidential level
    please anyone can help me to solve this problem
    Thanks&regards
    Niranjan

    Adobe Flash Professional CC manual
    1) Create new project
    2) Configure your Project properties
    3) Embed runtime, so you users can use Adobe AIR without pre-installed Adobe AIR runtime
    4) After publishing you will receive %APP_NAME%.app folder that contain your project files

  • User Logic for Conversion Type Instead of Hard coding in query.

    Hello , Good response from SDN but thats all standard which I know. Please help me to resolve the problem as stated below. SDN friends are always best help.
    Requirement: User will select the Target Currency; Will select the Exchange Rate like Monthly Avg 002M. Now there has to be a variable in Conversion which tells the logic to pick Conversion Type ZVHGR if  Exchange Rate = 002M, but if Exchange Rate = 001, then Conversion Type ZVHMR.
    <u><b>
    Approach to solve abo</b></u>ve
    1. I have created a Currency Translation Type " FiscperConversion" "ZVHGR" now this has Exchange Rate Type from Variable "ZVARN" (Which is a variable single value manual input on 0RTYPE Infoobject for exchange rate.)
    2. Now Currency Tab: Target Currency is selected from Variable placed in the Report. ZRPVAR.
    3. Now the Variable Time Reference is used. Standard Infoobject 0FISCPER
    which is beginning of period.
    Now all the above is done. Let go to the query and For Value of kEYFIGURE "Audit Balance" in Conversion Tab Conversion Type is specified is "FiscperConversion" ZVHGR"same as above and thats it. But the problem is here user want a variable that user can select the Conversion Type Instead of Hard coding.
    <b>Please suggest how to create this variable for Conversion Type and specify in query designer since In Conversion Tab this is not allowed to have variable.</b>
    Please help me very soon
    Thanks
    Soniya Kapoor
    null

    Hello soniya
    CTK ( currency translation key) includes
    1. Exchange rate type - variable
    2. Time base              - Variable
    3. Source abd TGT currency    - variable
    if all the things are given in variable why and what extra you need by selecting currency translation key from user input. I think you should ask business user again abt their requirement.
    I can think of inputing CTK if say you have choosen time base as static ( Fix value)...say in one key u r using fiscal period as base and in other u r using calday as base...
    Thanks
    Tripple k

  • How to integrate WebDynpro for ABAP application with SAPEnterprisePortal7.0

    Hi WebDynpro for ABAP Experts,
    We developed an WebDynpro for ABAP application on R/3, and now we are planning to show this as an iview on SAP Portal EP7.0 (SAP j2EE Engine--Java stack). is it possible to integrate this application with portal?
    If so can you proviode me the way how can we achieve this?
    ADV Thanks
    Regards
    Phani

    Hi Alex,
    Thanks for your response.
    I already created the system object R/3 Backend.
    Actually some WebDynpro java applications/iViews are currently running on Portal. and the developers developed these in NWDS and deployed the .sca files on the Portal server and we created Webdynpro for java iViews.
    but now the requirement is creation of webDynpro for ABAP views.
    The developers developed  WebDynpro for ABAP on the R/3 system. So what are the parameter values we need to give at teh time of creation of  WebDynpro for ABAP iview like the Namespace, Application name etc which are mandatory values and how the Portal server detects the application, this means no need to deploy the application on the Portal server?
    Shall we need to maintain any JCo Destinations or not?
    Pl share your ideas.
    ADV Thanks
    Regards
    Phani

  • Tips on avoiding hard coded paths and make a java app platform independent

    HI all,
    I would like to gather some tips on how to avoid hard coded file paths, which are plenty in the application I work on and which I inherited from previous programmers.
    Also, when deploying to the production server, my app goes from a Windows platform to a Linux machine.
    I am curious to know what tricks and tools other programmers find useful in similar contexts.
    I am sure many of us would benefit from the discussion.
    Thank you !

    Actually, Java does this for you; you can use unix-style paths and they will still work, even on Windoze. To wit:
    public static void main(String[] args) {
            File f = new File("/");
            System.out.println(f.getAbsolutePath());
    }Yields: C:\
    public static void main(String[] args) {
            File f = new File("/Program Files");
            System.out.println(f.getAbsolutePath());
    }Yields: C:\Program Files

  • Using an XML file for server URL instead of hard coding

    I can't find a good example.
    Could someone give me an example of using a local XML file to set a server url variable so i don't have to hard code url's?
    This works and i can trace the xml file but how do i access the individual xml data nodes?
    protected function initApp():void
         var loader:URLLoader = new URLLoader(new URLRequest("config.xml"));
         loader.addEventListener(Event.COMPLETE,configLoadComplete);
    private function configLoadComplete(event:Event):void
         trace(event.target.data);

    Hi,
    <a href="foobar.xml">right click and select save as from the context menu</a>
    or
    write your xml data or a copy of it with a different extension (text) so that it is not parsed as application/xml-xhtml
    or
    Use AJAX to retrieve the xml file and display it as the textContent of a <textarea>
    window.open wraps the xml markup in html tags for display purposes.
    Rob^_^

  • PKGBUILD for LPCXpresso - problems with ldconfig in installer

    Hi,
    I am actually trying to install LPCXpresso 7.3.0 on Archlinux, but of course I don't want to do this the dirty way (just use the installer and install it without pacman). Instead I want to install it with an PKGBUILD, which is quite hard, because it uses some binary installer thing.
    First of all here the PKGBUILD I made so far:
    pkgname=lpcxpresso
    pkgver=7.3.0
    pkgrel=1
    pkgdesc="LPCXpresso"
    arch=('i686' 'x86_64')
    license=("custom")
    source=("https://s3.amazonaws.com/LPCXpresso7/Installer_LPCXpresso_7.3.0_186_Linux-x86.tar.gz")
    md5sums=('0bb976bdbb4ca91d36f4155a8f0ba912')
    build() {
    cd "$srcdir"
    ./Installer_LPCXpresso_7.3.0_186_Linux-x86 --mode silent --prefix "$pkgdir/opt/lpcxpresso/"
    I know that there aren't any deps yet and that I should use a package() function. But I just wanted to get the install process itself working before I add those things.
    The problem is, that in the .tar.gz file there is one binary install file. At the end of the installation process, there are ldconfig calls, which fail (due to no writing permission for /etc/).
    I could not patch those ldconfig calls out, or trick the installer somehow to think they executed succesfully. I don't know how to extract files out of this binary by myself (this would be helpful, because then I can do the install process via script).
    For Debugging: After installation has finished (even with an error) a file named unpack.ini should be in /tmp/ijtmp_*/ which contains license and install steps. I tried to use --debug, but it did nothing.
    I think there are two types of possible solutions:
    1) extracting and copying the files out of the installer binary by script
    2) tricking the installer that it executed ldconfig successfully and then run ldconfig by script/hand (or do nothing).
    Any hints how to get this thing to install?
    Last edited by Evilandi666 (2014-08-24 11:45:41)

    Some more Info: The install binary is created using installjammer, but I still did not find a method to extract it.
    Last edited by Evilandi666 (2014-08-24 13:40:38)

  • Preferences for Open Application With is not working (although preferences are saved/appearing. Thoughts?

    Although the preferences for using certain applications to open downloaded files is set and saved (it still appears when accessed), the preferences are either not utilized automatically (for most files) or remembered at all for others (docx files). So, each time I try to download/open a docx file, I have to "browse" and tell firefox to use microsoft word, even though the preference is already set. I see that some people are having trouble with preferences being deleted, but that is not that case here. Thanks!

    Solved using STEP/OPTION 2 "resetpassword" in this post:
    why do i keep loosing my settings and homepage setting in safari
    I believe my problem started occurring after my system became unresponsive while the monitor was transitioning from Laptop display to external display. Safari locked up. I had to reboot the system.

  • Making jar file for java application with third party (Crystal Report)

    Hi all,
    I'm writing a java program that integrate with Crystal Report, I can run it in JBuilder fine, but when I try to make a jar file with JBuilder and run it, it either doesn't work or give me error.
    Case 1: If i only include the "dependencies", the program run but it woun't call the report when I open it. It give me the following error:
    com.businessobjects.reports.sdk.JRCCommunicationAdapter
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects.reports.sdk.JRCCommunicationAdapter---- Error code:-2147215357 Error code name:internal
         com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ILjava.lang.String;)V(Unknown Source)
         com.crystaldecisions.proxy.remoteagent.z.a(Ljava.lang.String;)Lcom.crystaldecisions.proxy.remoteagent.ICommunicationAdapter;(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int()V(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize()V(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ClientDocument.for()V(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for()V(Unknown Source)
         com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Ljava.lang.Object;I)V(Unknown Source)
         com.crystaldecisions.reports.sdk.ReportClientDocument.open(Ljava.lang.Object;I)V(Unknown Source)
         GOV.NE.REVENUE.LB775.CRYSTALREPORT.JRCViewReport.launchApplication(JRCViewReport.java:43)
         GOV.NE.REVENUE.LB775.LB775$5.actionPerformed(LB775.java:1114)</message>
    case 2: if I include the "dependence and resources" when create jar file, then the program won't run. It gives me a message:
    Cannot find main class. Program will exit.
    But I do have the manifest.mf file that contain the main class.
    Thank you very much for any help.

    Hello, I have the same problem, did you solved it?
    Thanks

  • What are the better load/performance testing tools available for Flex Application with BlazeDS RO?

    In my application is designed with Flex3, ActionScript3, BlazeDS Remote Objects.
    Just i tried with OPENSTA but i cant do the dynamic parameterization in their generated scripts because the response of the calls is binary values and also we cant get the response using with SCL language.
    While testing with OPENSTA with HttpService, i can do the dynamic parameterization and got the response.
    can give the information about the below questions
    whether we can do dynamic parameterization with OPENSTA for Flex Remote objects?
    and  what are the better load/performance tools available for Flex Remote Objects?

    Your approach is fine, depending on how many and what type of CFCs you are talking about. If they are "singletons" - that is, only one instance of each CFC is needed to be in memory and can be reused/shared from multiple parts of your application - caching them in the application scope is common.  Just make sure they are thread safe ("var" or local.* all your method variables).
    You might consider taking advantage of a dependency injection framework, such as DI/1 (part of the FW/1 MVC framework), ColdSpring, or WireBox (a module of the ColdBox platform that can be used independently).  They have mechanisms for handling and caching singletons.  Then you wouldn't have to go to the application scope to get your CFC instances.
    -Carl V.

  • What is the design pattern for web application with struts & hibernate?

    Hi everyone,
    I am new to web application developement.I am using struts for MVC framework & Hibernate for ORM framework.I am little confused that struts used bean representation for collecting form fields(Bean 1),value objects(DTO) for passing value to the JSP(Bean 2) & hibernate use the bean like representation for persistent object(Bean 3).Whether we must use all the bean's which are similar to each other or any reusable bean recommended?

    I'm sure why it didn't work. That is how I bundle the JRE. The only disadvantage about bundling is the size of the installer file will be pretty large. In my opinion, relying on a public version is not a good idea if you have no control of the target box. The user might, for some reason, decide to uninstall java or upgrade to a new incompatible version and your app. may stop working. I'm sure many on here will disagree with this though.
    I always use the marner .exe wrapper:
    http://www.megaupload.com/?d=FYZAVM77
    and inno installer:
    http://www.jrsoftware.org/isinfo.php
    They're both free to use and I've had no problems with them. Another wrapper is Javaround:
    http://sourceforge.net/project/showfiles.php?group_id=234356

  • FamilyTreeMaker 3 for MAC (application) with Yosemite OS X 10.10.1

    FTM is a genealogy program providing a database of vitals of all your family - descendants and ancestors.
    This application was flawless under OS Mavericks, but when I upgraded to Yosemite in August 2014, a
    strange abnormality became evident.
    The display screen for an individual identifies the NAME in the top centre of that person's data. The background
    for that NAME is highlighted in dark blue to make it more evident. This worked with Mavericks, but it doesn't work
    with Yosemite. ANCESTRY, the owner of that software, have moved on and do not support FTM 2. There is no "fix"
    in the works, but you can buy an upgrade to FTM 3 (for $28 US). The system requirements quote "Mavericks OS
    X 10.9". A telephone call today suggested that Yosemite 10.10.1 should be OK ???????? Why buy it?
    It looks like the invisible attribute for this field is wrong and the field is being grayed-out, rather than having a dark
    blue background. The spouse's name is directly below the grayed-out name. You can switch the 2 names in order
    to get the spouse's details. When the names are reversed, the spouse becomes the prime display and her name
    gets grayed-out. When the husband's name is displayed below hers, his name becomes visible.

    The problem lies in the display of the NAME field, when FTM is in Person mode.
    While all of the data displayed for that person is correct, ONLY the NAME field
    for that person is at fault. I should be able to read that name in the NAME field at
    the top centre of the active window. (The name should also be highlighted in dark blue).
    Instead, the name field is grayed-out). Switching to the spouse's name, brings her data
    into display, but now her name is grey-out.

  • Are Bean Managed Persistance EJBs a better choice for an application with a lot of Oracle 9i JDBC activity?

     

    You don't really give enough information to answer the question. Probably the most important questions are the coarseness of the database activity, the need for remoteability, and the need for a component and security model.
    The short, rule of thumb, answer is that Entity Beans (regardless of BMP vs. CMP) almost always have a significant performance penalty. You should choose Entity Beans because you need/want the features of Entity Beans, not because of performance.
    David

Maybe you are looking for

  • Not able to access the WebDynpro application in BlackBerry.

    Hi, I have created a WebDynpro application. The application is workin fine on IE but when I access the same application from BlackBerry simulator 8830 it gives an error : 500 Internal Server error. APPLICATION ERROR OCCURED DURING THE REQUEST PROCESS

  • Problem with common services discovery !

    hi, I have set the network discovery setting to use (arp-ospf, and cdp) . after the network discovery was finished I found out that there are 30 devices which had been discovered but in unreachable state !!!! I start to ping all those devices and hop

  • Please explain about LAST_OPERATION_FAILED

    Hi all,            Please explain about the parameter LAST_OPERATION_FAILED. and if I found this warning message in DB16 what is the procedure or actions we need to take? Thanks&Regards, Prakash

  • Ctxsrv won't start

    In some situation ctxsrv fails with the following error message: Oracle interMedia Text: Release 8.1.6.0.0 - Production on Fri May 12 12:37:49 20 00 (c) Copyright 1999 Oracle Corporation. All rights reserved. 12:37:49 05/12/00 === OCO server startup

  • Undo a factory reset...

    i took out the sim card, the phone factory reset...my back up is old...is there any way of undoing the factory reset to get back my photos... Please