package

process of building a package ?

I am not really sure if I am using the right java terminology here, but here is what I want to do. I basically have some code working in a single directory. I want to reorganize them. Some previous threads suggested that package and import may be the answers. There were some missing details so I did not quite understand how the...

How to Extending vs2010 editor context menu for .js file?

I have a VS2010 VSIP package with several commands,Those commands are added to the javascript editor's context menu,and i am using <Group guid="guidPrettyJsCmdSet" id="ContextMenuGroup" priority="0x0600"> <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_CODEWIN"/> </Group> but it work only C# file,how to make it work for .js...

Package bash script in "executable" for double-click execution (ideally platform independent)?

I wrote a number of bash scripts that greatly simplify the routine, but very tedious, file manipulation that my group does. Unfortunately, most in my group cannot open a terminal, let alone run scripts with complex arguments. Is there a way to nicely package a bash script into an executable (that accepts arguments) that runs nicely on ...

Hyphenated company name in Java packages

Let's say you're working on the core module of the foo project for BarBaz Incorporated. Your code fragment might look like this: package com.barbaz.foo.core; import com.barbaz.foo.util; What would the convention be if your companies website was not barbaz.com, but instead bar-baz.com? Thanks in advance! ...

Accessing classes in default package in a JAR file

I have a Java application and the Java files are in a package called app. I have added a JAR file to the classpath. All classes in the JAR file are in the default package. From my Java application I can't access classes of this JAR file. Only if I put my application files in the default package, then I can see the classes in the JAR fil...

How to create a license key as a downloadable, and check for it on Android

I'm sure this is fairly basic, but I don't know quite what to search on to get a concise tutorial. I want to create an app and make it downloadable on the Android Market for free. Then, I want to create one or more apps which are just license keys which open up certain functionality on the free app. What's the best way for the free ap...

how do you get the name of a package that dispatched an intent in android?

I have a service setup to receive a PACKAGE_ADDED and a PACKAGE_REMOVED intent from all <data android:scheme="package" /> I receive the intent correctly, but I need to know how to use the Intent and Context classes from onReceive to get the name and label of the application that was added or removed. I have been able to use Intent.getD...

How to package roo project without aspectj files into a jar.

Hi I am using Spring Roo to create a service to access the data base, just that. so, when I try to export to a jar using eclipse, the jar not contain one java class, but these files: Contact.class Contact_Roo_Configurable.class Contact_Roo_Entity.class Contact_Roo_ToString.class Contact_Roo_JavaBean.class I know these was AspectJ files...

[aptitude] purge ALL dependencies

Hi there. I've a problem that seems quite simple, but I can't get it done. I have a package with many dependencies and I want to remove ALL of them, regardless wheather other packages also depend on them ( they get removed too ). How can I get a list of all dependencies of a package that I can easily send to xargs aptitude purge ? Thank ...

How can I find out what kinds of actions and URI's a given app package will respond to?

Say I want to ask the Phone app to dial a number, or the Maps app to display a particular location, or the Navigator app to navigate to a particular place, etc.... Obviously I need to broadcast or send an intent. But what actions/categories/data URI's do I use? What will each app recognize and respond to? This seems like basic inform...

icon distribution packaging

i need you help guys. I have designed numerouse icons. I need to package them for sale into these categories Normal, Hot, Disabled, Gray and these size 16x16, 32x32, 48x48, 128x128, 256x256. Do you know any software that can do this automatically for me, or do i have to develop my own. Am average programmer in vb.net. But not an expe...

Create ipa for testing on device using iPhone Packager

Hi, i'm following Christian Cantrell guide for packaging AS3 application for iPhone, but i can't find a way to use the packager for creating an app for testing on device. I've tried with -target ipa-test and -target ipa-app-store but when i try to upload my app on the iPad, iTunes throws an error sayng that i'm not allowed. I've done a s...

Package renaming in eclipse android project

I have an Android project created in eclipse.I want to modify the package name and application of the project.How to do that in eclipse? Thanks, Dheepak ...

CruiseControl.NET NTFS security of published packages are different then the parent folder.

I've setup CCNet to build under user CCBuild, which publishes the builds to C:\Build\Projects\ProjectName\Version\Package.zip I've allowed several AD domain users to access the folders from C:\Build\Projects\ProjectName But they can't download the packages because the security gets set differently. While they can acccess the ProjectNam...

Recommended way to load .so package in tcl either statically or dynamically

I've an executable hosting tcl interpretor, and a library hosting a extension. I want to be able to build the library dynamically (loaded with Tcl's load) or statically (single executable, or so loaded implicitly). The Executable code: #ifdef GO_STATIC extern int My_ext_Init(Tcl_Interp* interp); Tcl_StaticPackage(interp, "my_e...

How to load a PEAR package

Hi, I've just installed a PEAR package (Event_Dispatcher) and I can't use the classes in that package. When I run the command pear list I see the new package, however I see that the classes in the package are saved in /usr/lib/php (I have a Mac). Is there a loading part after installing a PEAR package? How exactly do I move the files t...

How do I package a rails as a standalone executable.

I've been developing a web application and a lot of customers are asking if they can host the application in their network (for security reasons). I have been looking for a way to package up a rails app into a single executable (with server and all), but haven't been able to find anything. My other requirement is that we distribute it ...

How can I get the output I want from a lubridate subtraction

I started using lubridate today. I have one variable called Started which is the date on which human sujbects enrolled in a study and another variable is called dos1 which is the date upon which the subject last had surgery. I want to work out how many months since their last surgery to the day of enrollment as.period(syrrupan$Started-s...

VS2010 Deployment package MSBUILD

The VS2010 Deployment package feature creates the package with a directory structure like: Package\Archive\Content\C_C\Sources\Website1\Web\obj\Debug\Package\PackageTmp I want to have the contents of the last PackageTmp in the root and not the whole directory structure. What is the best way to do this, create a custom task which copies...

Visual Studio 2010 Deployment package

I want to use this task in the VS2010 Web Application package deployment process to compress the javascript files: <Target Name="CompressJS"> <ItemGroup> <_JSFilesToCompress Include="*.js" /> </ItemGroup> <Message Text="Compresing Javascript files $(_PackageTempDir)" Importance="high" /> <JSCompress Files="@(_JSF...