Hi, I'm trying to copy a directory with ant task.
I am a newbie in ant; my current solution is:
I'm wondering if there is a better and shorter way to accomplish the same thing?
Thanks in advance
I am creating a folder through my app
File direct_playlist = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + PLAYLIST_PATH);
if(!direct_playlist.exists())
{
if(direct_playlist.mkdir()); //directory is created;
}
Even though the command executes perfectly I can not see the folder in Explorer. I have also given permission to my app in the manifest.xml
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
When I try to access this folder my app crashes as the folder is not present.
I've configured IIS7 and Tomcat6 successfully with the isapi redirector. I can get my servlets from tomcat's examples, and also my own servlets running from localhost.
http://localhost/examples/servlets/ works fine for the supplied tomcat examples.
How do i add servlets to existing web sites?
I've tried adding a virtual directory to my website, the same way i did for the Default Website, but i get 404 errors
thanks
Whenever I edit files on emacs, it seems a temporary file is created with the same name with ~ appended to it. Does anyone know an quick/easy way to delete all of these files in the working directory?
Hi
Using RubyMine 2.0.2 for the first time today, on Mac OSX Leopard. If I create files in the filesystem (with, say, script/generate) those new files do not appear in rubymine. I have had limited success with restarting the program, in that the files in the db/ folder are added and removed, but unfortunately new folders in the views directory are not shown.
Pardon my french, but wtf?
Thanks
I want to update some xml files installed with a value using destination directory value{app}.
I do not see any "easy" way except for writing pascal function or running external script (like sed).
Am I missing something? Looks like this should be trivial in any installation tool...
using following command on hp-ux
remsh opera -l myuser crontab -l /opt1/exp_opera_crontab 2/opt/a.log
and when i echo $? i get 0
because its executing crontab -l on remote machine
but i dont have opt1 directory so
export wont be copied to my local machine in /opt1/exp_opera_crontab
i dont get any error about this when i run this remsh or rsh command
is there any way to identify both of remote and local machine related errors and redirecting them into my local machine ?
We seems to be abstracting a lot of logic way from web pages and creating "helper" classes. Sadly, these classes are all sounding the same, e.g
ADHelper, (Active Directory)
AuthenicationHelper,
SharePointHelper
Do other people have a large number of classes with this naming convention?
Hi all, I just set up Mercurial on our main webserver, hosting repositories via hgwebdir.cgi. The problem I'm having now is when I run hg push from my local machine to the server's repository, it takes an absolutely ridiculous amount of time to push a very small directory, with only a single changeset. Is it possible that I've set something up wrong? I keep getting HTTP Error 502: Bad Gateway.
Thanks!
I added a new region line to my .info file under /sites/all/themes/[theme] directory. However when I look at the Blocks page, the region is not visible, nor is it a selectable item from the dropdown menus. I've cleared the cache as well. What am I missing?
I want to load an extension within a Php file as I don't have access to the php.ini file.
I tried:
ini_set('extension','php_gd2.dll');
With the file in the same directory as the Php page but it did not work.
Must it always be done with in php.ini or can it be done like the above?
I have written this script to move files to the destination folder. Looks like I am missing something here because when I run the script, it is only looking for .zqx files in current directory and not all the drives. Please note that the ( dir $paths..) part is returning the list of .zqx files promptly.
Paths.txt has drive letters like this
C:\
D:\
E:\
$paths = get-content paths.txt
mv (dir $paths -r -fi *.zqx | ?{$_.lastwritetime -lt ($sevendaysold)}) -dest e:\xqz
Thanks
Steeluser
Hello,
I had recently (and unfortunately) uninstalled the google chrome browser from my computer -while completely forgetting about the dozens of bookmarks I had stored on it.
Is there a method/directory to retrieve these chrome bookmarks after having already uninstalled???
Please do help! would be a lifesaver!
Hello,
I have an urgent requirement in MOSS 2007 as below,
I want to search/get Computer Names from Active Directory in SharePoint just like search users;
Could you please check and help on the same ?
Thank you.
Hi ,
I want to knowing how can i open root directory ?
I know Messages saved in sms.db that is in "/var/root/Library/SMS/sms.db" , but I can not see sub folder of root, I know ,the root have password and should enter it to open ,...
but how can open this without Unlock or entering password?
I have a asp.net web application project, with some global resources.
If i deploy to my dev machine, the resources are used correctly, however in the production server the text appears in the default language so the global resources are not being read.
Any ideas? (i copied the App_GlobalResources directory to the production web dir root)
When I set:
DefaultDirName={pf}\My program
in InnoSetup .iss file, it starts directory selection with this path correctly. However, if user press 'Browse' button and start navigating through filesystem, InnoSetup keeps 'My program' suffix at the end of path chosen by user. How to get rid of this?
Hi,
I've encountered some errors when I tried to install an artifact manually with Maven 2. I wanted to install a jar from a local directory with the command
mvn install:install-file -Dfile=jta-1.0.1B.jar
But Maven gave a build error which reads like:
Invalid task '.01B.jar': you must
specify a valid lifecycle phase, or a
goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
Is there a mistake with my command?
Does anyone know a solution to this problem? I'm unable to open a subdirectory within a symboliclink'd directory. I've confirmed that the paths are correct (even copy & pasted the path into explorer, which parsed it fine). This is a strange, annoying, bug :|.
Example:
C:\folder\symbolic_link\dir1\dir2 - opening dir2 fails.
C:\folder\symbolic_link\dir1 - works
C:\folder\real_directory\dir1\dir2 - works
C:\folder\real_directory\dir1 - works
Hi,
How to properly construct regular expression for "grep" linux program, to find all email in, say /etc directory ?
Currently, my script is following:
grep -srhw "[[:alnum:]]*@[[:alnum:]]*" /etc
It working OK - a see some of the emails, but when i modify it, to catch the one-or-more charactes before- and after the "@" sign ...
grep -srhw "[[:alnum:]]+@[[:alnum:]]+" /etc
.. it stops working at all
Also, it does't catches emails of form "[email protected]"
Help !
I use clientgen ant task shipped with weblogic to generate web-service clients. Currently I have one different clientgen statement for each wsdl. Is there any possibility do not iterate each wsdl? It will be perfect just set directory where all wsdl live for one clientget statement.
I am trying to create a similar way to Cpanel password protect directory, where a pop up comes out asking the user for a username and a password, but Cpanel way is amazing but my client doesn't know anything on how to do that, so i wanted to create a pop up msgbox informing the visitor to enter a user name and a password, and i totaly confused on how to create it, and which programming language support similar to CPanel
I have been facing an error when I trigger XSLT from a C# code, It mentions something about dll file access failure every time, so just want to know whether this transformation code creates any dll files (in C:\Windows\temp directory) as such??
(I have mentioned the error and triggering program in my previous question),