How add subdirectory to directory in dc .
hello
i'm not able to add subdirectory to directory
example
In the directory src/packages/<component-package-folder> add new subdirectory called bol
please give me some solutions
Hi
You can switch to navigator perpective and create folder under the desired folder structure (right click on the folder and select new other-> folder option).
For uploading this folder into DTR. Rightclick on the
fodler ->DTR->Add subtree. It will ask u for activity.
Ashutosh
Similar Messages
-
How to programmatically add a search directory path
Is there a way to do this from a CVI program?
Hello,
As stated in the previous answers there is no way using the API to do this. However, you can write some code to add a search directory programatically. What you need to do is as follows:
1. Get a reference to the config file. You do this by calling Engine.ConfigFile. This will return to you a reference to the TestExec.ini file.
2. Clone one of the elements of the Search Directory list. The search directories are stored in an array, in which each element is a container that has the following fields: Disabled (Boolean), SearchSubDirs (Boolean), FileExtRestrictions (string), Path (string).
3. Insert the cloned element into the end of the Search Directories array.
4. Once the element is in the array, you can change any one of the fie
lds listed above.
5. Increment the change count and save the config file.
Note: The changes that you make to the config file will not take effect until you restart the Sequence Editor. This is due to the fact that we cache the config file when the Sequence Editor is loaded.
I have attached a sequence file that will do this. Depeneding upon the programming environment you are using, you can mimic the actions performed in this file in your code.
Hope this helps.
Attachments:
ModifySearchDir.seq 19 KB -
How to get folder(directory path only not file path) from local file system
Hi Firends,
How to get folder(directory path only not file path) from local file system , whenevr i will click on browse button.
Please give reply for this one , if anybody knows.
Thanks,
Anderson.Hi Anderson,
if you're using flash.filesystem.FileReference - then it is run in black box - except of filename, size and creation data (and few other properties available after some operation succeeded). This is part of security features in Flash runtime (described in header section):
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference .html
This for example implies that user can download a content to local machine - but that content cannot be loaded back into Flash runtime. For this you would need either Air runtime flash.filesystem.File:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml
(so you would created Air runtime based application: desktop or mobile but not web, even as standalone project) or you would need one of 3rd party tools that add file access/file information features to standard Flash runtime applications converted to standalone native applications.
hth,
kind regards,
Peter -
Add a exploded directory to EAR's classpath
i created a enterprise application using workshop, rather than import some *.jar
files to the application's lib, i wanna add a exploded directory to this application's
classpath. can anybody tell me how?
i copy the directory to {myapp}/APP-INF/lib, but didnt work! any body can help
me? thx in advance!
RogerAPP-INF/classes and APP-INF/lib/*.jar will be in the EAR's classpath
-- Rob
Roger Tang wrote:
i created a enterprise application using workshop, rather than import some *.jar
files to the application's lib, i wanna add a exploded directory to this application's
classpath. can anybody tell me how?
i copy the directory to {myapp}/APP-INF/lib, but didnt work! any body can help
me? thx in advance!
Roger -
How to specify the directory in which we want to store the uploaded files
Hello !!
I am using apache commonfile upload for uploading my files.I followed the user guide and tried to run a program,but my problem is I am not able to understand as to how to mention the directory in which the uploaded file will be saved..My code is given below :
package r;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
import java.util.*;
import org.apache.commons.fileupload.*;
import org.apache.commons.fileupload.servlet.*;
import org.apache.commons.fileupload.disk.*;
import org.apache.commons.io.*;
import java.lang.Exception;
public class fileupload extends HttpServlet
public void doGet(HttpServletRequest request,HttpServletResponse response)throws IOException,ServletException
// Check that we have a file upload request
boolean isMultipart = ServletFileUpload.isMultipartContent(request);
System.out.println(isMultipart);
if (ServletFileUpload.isMultipartContent(request))
// Create a factory for disk-based file items
FileItemFactory factory = new DiskFileItemFactory();
// Create a new file upload handler
ServletFileUpload upload = new ServletFileUpload(factory);
// Parse the request
try {
List items= upload.parseRequest(request);
Iterator iter = items.iterator();
while (iter.hasNext())
FileItem item = (FileItem) iter.next();
if (item.isFormField()) //NORMAL FORM FIELD
String name = item.getFieldName();
String value = item.getString();
System.out.println(value);
else
String fileName = item.getName();
System.out.println(fileName);
String contentType = item.getContentType();
File saveTo = new File("/info/upload_files/myFile.jpeg");
try
item.write(saveTo);
System.out.println("File written" );
catch(Exception e)
System.out.println("File not written");
// InputStream fs= item.getInputStream();
fileName = FilenameUtils.getName(fileName);
System.out.println(fileName);
}//end of try
catch (Exception e) { }
public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
doGet(request,response);
The problem is that the control doesn't reach the try statement and I get " File not written" on the console because it enters catch everytime..Please tell me how the path to the directory should be given...Rest of the code is working fineNo, the problem is that when an Exception is thrown, you ignore it completely and throw away all the information associated with it. That leaves you to guess at what the problem is. So instead of answering your guess at a good question, I'm going to suggest that in all of your catch blocks you put this code:e.printStackTrace();Then you can look at the output in the log file and see what the problem is. Start from there.
-
How to create a directory in application server
Hi all,
How to create a directory in application server through Progaram??
eg:\tmp - is already existing
I want to create \tmp\fi
Within \tmp\fi - i should able to store my file,,,
Kindly help me urgent...Hello San,
Either contact Basis guys at ur end for the same or u can do it dynamically via a piece of ABAP code, i hope it wll help u.
call function 'GUI_CREATE_DIRECTORY'
exporting
dirname = '//<ip_address>/qfilesvr400/<host>/usr/sap/TST/SYS/Folder1'
exceptions
failed = 1
others = 2.
Reward If Helpful.
Regards
Sasidhar Reddy Matli. -
How to create a directory or Folder using java program?
Hi all,
Can any one know, how to create a directory(new folder) in java.
can any give me some idea, on creating a directory using java program dynamically.
thanx in advancehi thanks for your answer,
sorry, actual i know this technique(its my fault i didnt mentioned it)
i am looking for some what different technique.
bye
ram -
How to repair Open Directory Master after Changing Hostname
Summary:
How to repair Open Directory after Changing your Server's Hostname (see separate post)
Problem:
I had to change our server's hostname from a private hostname (server.name.private) to a public hostname (name.dyndns.org).
Procedure:
1. Precautions:
Since I was anticipating major dramas I tested the change of hostname on a clone ( I used Super Duper, and I very strongly advise everybody to heed this warning because a change of hostname will corrupt your server services, in particular Open Directory)
Second, I exported the network users from Server Admin and copied the archive to the Drop Folder of the server's local account (because the network accounts will be unavailable after demoting the OD Master.)
2. Change hostname and demote OD Master
a) I re-booted the server from the clone
b) I changed the hostname in Server App and I noticed that the Open Directory Password and the Kerberos database were still stuck with the old hostname.
c) I then demoted to a standalone directory (Server Admin) and I tried to promote the server to an OD Master using the Server App (Manage Network Accounts). Server App always returned an error saying I should check my network settings.
3. List of 'fixes'
I tried the following fixes to no avail (which does not mean that you can skip them)
a) I checked the DNS entries, forward and reverse were working fine (sudo checkip -changehostname)
b) Checked with Lookup in Network Utility, all was fine
c) I deleted all system certificates (Keychain) which showed the name of the previous hostname
( N.B. you need not delete email certificate and private/public keys)
d) I tried to assign a new static IP in Networking Preferences (had no visible result)
e) I re-booted from the working drive and I re-paired permissions on the clone; I ran disk repairs.
Despite all this I could not re-create an OD Master.
I then looked for this dubious folder /var/root/Library/Application Support/Certificate Authority.
I could not find this folder when using the Finder's Go To Folder, nor did "Easy Find" see this folder.
I was about to give up when I read the posts on this page and I entered the Terminal commands
sudo rm -R /var/root/Library/Application\ Support/Certificate\ Authority/
I had not much hope when I set about to re-create the OD Master from the Server App.
But lo and behold !!! I did not trust my eyes when Server App claimed that the OD Master had been successfully created. And indeed, Server admin showed a running OD Master, LDAP, Kerberos and Password Server all running again !
Final touch: re-import the user accounts.
Epilogue:
I woud not have been able to fix this issue had not so many others shared their experience and the working solution.
(Refer : https://discussions.apple.com/thread/3219325?start=0&tstart=0 )
Thank you all !
Let's hope that Apple will fix this annoying issue in the next server update.
Regards,
TwistanHi Rhyan,
Please try clearing the security cache
http://www.sharepointanalysthq.com/2014/05/active-directory-groups-and-sharepoint-security/
https://sergeluca.wordpress.com/2013/07/06/sharepoint-2013-use-ag-groups-yes-butdont-forget-the-security-token-caching-logontokencacheexpirationwindow-and-windowstokenlifetime/
http://webactivedirectory.com/active-directory/windows-active-directory-cached-user-credentials/
Please remember to click 'Mark as Answer' on the answer if it helps you -
How add windows 7 to my mac
Believe it or not but w/o knowing what Mac you have and which OS makes a differnce, somewhat.
nMP supports 8.1 though getting Windows 7 was made easier more recently.
Some models barely support Windows at all (possible but a fudge when it comes to a 2006 1,1 EFI32).
Once I discovered that t he Windows key or command key was a one step hop out of Metro to Desktop been very happily using 8.0/8.1 and it does - other than games?? - run best of any Windows OS.
Using one copy of Windows natively and then using it in Fusion or Parallels (but have to do Boot Camp inst all first) is not illegal or anything else. And there is free VirtualBox too.
I know with Fusion and Mavericks you can run Mavericks in a VM as well, handy for testing. And appears to run very well on t he nMP 6-core.
I would use an SSD for Windows, separate from your Mac SSD, or $299 buys you a 500GB SSD -
Add a new directory with hyphen (-) in the domain name
Dear All,
I'm trying to add a new directory with hyphen (-) in the domain name (default domain *.onmicrosoft.com). As a result I keep getting a validation error: "The domain is not unique". I've tried several
combinations with really awkward words and a hyphen. Such domain names must be unique. I think that the error message is misleading.
Is it a well known behavior? Is it possible to use a hyphen in the domain name?
Thank you for your help,
ArtemDear Arvind,
Thank you for your effort and time in validating the described behavior.
According to the
Regexp for subdomain question on SO, 'Each subdomain part may contain hyphens (dashes), but may not begin or end with a hyphen'. That been said, the validation error, on your screenshot is appropriate. On the other hand, the validation error
with a hyphen (dash) in the middle is misleading.
It's not a big deal, since people most likely use a custom DNS name anyway.
Kind regards,
Artem -
How to find /i/ directory in apex 4.1
Hello everyone,
We are using Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 and Apex 4.1 and Apex Standalone listner,
How to find /i/ directory in database.
Thank you.Check http.conf to see the alias for /i/
Try logging into APEX Listener admin
http://docs.oracle.com/cd/E21611_01/doc.11/e21058/config.htm -
Im not for sure how add music to front row can someone help me isnt it playlist in iTunes??? im not for sure
Post in the Front Row forums where those gurus are.
-
Cloning 10g Database in archive mode - How add new created archive files
Deat all
I want to clone oracle 10g database using hot backup. database in archive mode.
Database is running user data entry contifue, during hot backup there are aproximatly 3 to 5 new archive log created. Please guide me how add these new created archive log in cloning process.
Thanks
Alter system switch logfile;
SQL> select max(first_change#) scn from v$archived_log;
SCN
8592924
alter tablespace tablespace1 begin backup;
alter tablespace tablespace2 begin backup;
alter tablespace tablespace3 begin backup;
alter tablespace tablespace1 end backup;
alter tablespace tablespace2 end backup;
alter tablespace tablespace3 end backup;
select name from v$archived_log where first_change# >= 8592924 order by name
NAME
F:\ARCHIVELOGS\ARC00390_0664080689.001
F:\ARCHIVELOGS\ARC00391_0664080689.001
F:\ARCHIVELOGS\ARC00392_0664080689.001
create pfile='init<new database sid>.ora' from spfile;
alter database backup controlfile to trace as '/home/oracle/cr_<new sid>.sql'
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "ORCL" RESETLOGS FORCE LOGGING NOARCHIVELOG
MAXLOGFILES 50
MAXLOGMEMBERS 5
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 453
LOGFILE
GROUP 1 'E:\oracle/oradata/dg9a/redo01.log' SIZE 100M,
DATAFILE
Edited by: Naeem Sheeraz on Nov 15, 2008 12:54 PMWhen you attempt to startup the cloned database on the new server you will find that it needs recovery -- because it was taken in hot backup mode.
That is why you need to copy the archivelogs that are generated from the first archivelog after the first "alter tablespace begin backup" to the first archivelog after the last "alter tablespace end backup".
I see that you are also including a CREATE CONTROLFILE script.
You would run that at the cloned environment.
Then you would issue the RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL command to make the clone consistent.
You can, of course, use the same method to copy these archivelogs as you use to copy database files -- tar, cpio, tape, etc. -
How to create /home directory in a diferent disk ?
I installed Solaris 11-11-11 on a x4640 with 4 disks:
How to create /home directory in a diferent disk ?
Edited by: user1502 on Apr 25, 2012 1:51 PMI'm confused. It looks like you already have /home configured:
<pre># zpool status
pool: home
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
home ONLINE 0 0 0
c4t3d0 ONLINE 0 0 0
errors: No known data errors
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
home 86K 134G 32K /home
...</pre>
What is the problem? Looks like you already have /home configured. Are you sure automounter is not running?
Try this:
<pre>zfs set mountpoint=none home
rm -rf /home
zfs set mountpoint=/home home</pre> -
How to Takes Active directory backup and Restore in different Hardware
Hi
how to takes Active directory backup and Restore in different Hardware in Windows server 2003 R2 standard Edition.You can give a look to that: https://support.microsoft.com/kb/249694/?wa=wsignin1.0
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile
Maybe you are looking for
-
Already synched with iPhone. how do i transfer pics and movies to macbook pro?
Ive already synched with my iphone , but how do i transfer the pics and videos from my ipad?
-
HT201407 can you unlock my i phone?
I lost my i phone and bought another which i had to pay$ 125 to get unlocked yesterday, today i found my original i phone and want to unlock the one I got unlocked yesterday so i can use it with another carrier
-
How to open word document in labview
Hi, I want to open word document in labview,well i have done that. I want to display only the page part,don't want any editions,formatting to be done. please suggest me solution if any.
-
Kernel Panic on iMac Intel Core 2 Duo
Hi there - my iMac is a little over a year old and yesterday started generating a "your system needs to be restarted" type of message following what looked like a gray blind scrolling down the screen. I've checked the logs and can see the following e
-
How to uninstall all current installed JRE with one command / tool?
Hello together, is there a tool or a command which allow me to uninstall all current installed java versions? The problem is, that I hava a lot of different configurations in our network. And now I want to install on all the pcs the same JRE. But it