Nested Packages
Hi
I am not quite familer with pl/sql. I need to do this.
I have 3 packages
say p1,p2,p3 all are contains some x no of functions and y no of procedure.
I want to nest these packages may be like p1=> p1+p2+p3.
so that I can ensure the serial flow of executions. After nesting I will be schedule p1 into job.
#2. I want to have log system for this execution against which I am going create a table loginfo
that is should contain log information. Somthing like this
package1 -> procedure1-> starttime "Some timestamp information"
Packagex-> -> procedurey-> endtime "Some timestamp information"
how i can achieve this.
some layout kind of stuff would give me some help.
Any better suggesstion against my requirements are welcome.
I am using oracle 9iR2 / AIX
Thanks
Ranga
Edited by: Rangarajan on Oct 24, 2008 4:32 AM
Hi,
You have to create ohter package to encapsulate the calls to the others packages, like (very simplied example)...
CREATE OR REPLACE PACKAGE pack_test IS
PROCEDURE TEST;
END pack_test;
CREATE OR REPLACE PACKAGE BODY pack_test IS
PROCEDURE TEST IS
BEGIN
-- Call P1 procedures or functions...
P1.proc_p1;
-- Call P2 procedures or functions...
P2.proc_p1;
-- Call P3 procedures or functions...
P3.proc_p1;
END TEST;
END pack_test;
/Regards,
Similar Messages
-
hi,
i want to know if any feature
provided in 9i regarding
creation of nested packages
as if in java.
Thanks,
Suresh.No.
Obviously, packages can call packages can call packages, but there's no family history or inheritance like there is in Java. PL/SQL is a procedural language, not an OOP lanaguage.
Cheers, APC -
Compiling with nested packages
Hello, I have a problem trying to compile packages. Let's assume the following:
- The classpath variable is set to include ..jdkxxx\lib\dt.jar;..jdkxxx\lib\tools.jar
- I have a directory called 'd:\com\mycompany\mainpackage'
- Inside dir mainpackage, are two more dir. called 'subpack1' and 'subpack2'
- Dir subpack1 contains some classes, and all classes contain the statement 'package com.mycompany.mainpackage.subpack1'
- subpack1 is independent of all packages, except the java.lang
- Dir subpack2 contains some classes, and all classes contain the statement 'package com.mycompany.mainpackage.subpack2'
- subpack2 is dependent on some classes of subpack1
How would I go about compiling the 'mainpackage'? I have managed to compile the subpack1 classes, but when I try to compile the subpack2 classes, I get 'cannot resolve symbol' error messages, pointing to classes in subpack1, which are already compiled, but not found.
My classpath variable (at compile time) includes 'd:\com\mycompany\mainpackage', 'd:\com\mycompany\mainpackage\subpack1', and 'd:\com\mycompany\mainpackage\subpack2'
Any reply will be greatly appreciated!You need to have the directory that contains the com directory in your Classpath when you compile (d:\ according to your post).
Classes that are in com.mycompany.mainpackage.subpack2 will need to import any classes they need from com.mycompany.mainpackage.subpack1, unless you use the fully qualified class name each time.
Note that there is no such thing as "nested packages" in Java. For example, you can not use a line like "import com.mycompany.mainpackage.*;" to try to import all classes in subpack1 and subpack2.
http://java.sun.com/docs/books/tutorial/java/interpack/packages.html -
Hi, I am a newbie in Java. I have a problem with using one of my packages. I have made an application that is composed of 2 packages: Application and Stock. Package Stock is inside Application. Package Application has one .java file which is A2.java. This file contains the main. So for package Application I have 'package Application;' at the top of A2.java and it is in a folder named Application. Then for package Stock I have 'package Application.Stock;' at top of every .java file that belongs to package Stock and these files are in folder Stock which is in folder Application.
I need to use package Stock inside A2.java so I import it with the following statement:
import Application.Stock.*;
The problem I have is when I compile A2.java I get an error saying "package Application.Stock does not exist". How come this happens? I have been sitting on this problem for 3 days now so any help IS GREATLY APPRECIATED! Thanks!Ummm... I need to stress the word "NEWBIE" here. You basically threw all you could into that one last line. If you could maybe disect/explain it in more basic, step by step terms then I would really appreciate it! I read up that:
-classpath <path> - specifies where to find user class files
-d <directory> - specifies where to place generated class files.
but all that other stuff on your line I didn't get :( If you could also give an example that would be great (and how do I specify more than one classes or paths on a command line? what do I seperate them with? a comma? semicolon?)
Your help is greatly appreciated! -
Hello,
I have one typical scenario to map in SAP with HUM, please help me in finding the way.
Business Scenario:
During production, lubricant is being filled in bottles, bottles packed into cartons and cartons again packed into pallet. When the bottle reaches to the end customer, business wanted to trace it by which order it got produced and to which customer those bottles sold.
Business also would like to know which bottle packed into which carton and which carton packed into which pallet.
I was checking two options in SAP.
1, serial numerbing
2. Hanlding units
with serial numering option it is dificult to achieve businessre quirement as sequence number printed(ink prints by external software) on the bottle is not equilent to the serial number generated automatically in the system.
With Handling unit, yes, we can achieve but i have following questions.
1. how to create HU and assign label(HU label) to the bottle before production with reference to production order.
2. how to assign bottle HU's to the carton with scanner in production line with packaging station?
3. how to assign carton HU's to the pallet HU with scanner and at what stage in production(before production order confirmation?)
please clarify the above points.
Thanks
Regards,
Pavan KumarHello,
Anyone has come across such sitution? please advise.
Thanks
Regards,
Pavan Kumar -
How to structure my package hierarchy?
As an inexperienced Java programmer, I am having a hard time understanding how to structure packages hierarchically.
Let's say that I am developing a client/server AddressBook application. So automatically, the following package hierarchy comes to my mind:
(company/org name is ACME for example)
com.acme.addressbook
com.acme.addressbook.protocol
The above two packages form the reusable core of the AddressBook system and include classes such as AddressBook, AddressBookEntry, etc. and related helper classes. Additionally, the protocol sub-package contains classes that pertain to the C/S network protocol. And both of these two packages are packaged up in a jar: AcmeAddressbook.jar
com.acme.addressbook.client
The above is the package for the Client application: AcmeAddressBookClient.jar
com.acme.addressbook.server
The above is the package for the Server application: AcmeAddressBookServer.jar
My questions are: does such a package structure and hierarchy make sense? Or are there any glaring mistakes that I have made?
Is it acceptable to keep the client and server applications into their own separate packages?
Also, is there any recommended limit for nested packages i.e. how deep should packages be nested within the top-level AddressBook package?
I am struggling to understand good package design and package structuring conventions.
Thanks any for any info, critique, advice, etc.Lets the two client and server packages are respectively :
com.acme.addressbook.client
com.acme.addressbook.server
Yes, such a package structure and hierarchy make sense!
If you are having common utility classes and many library jars inside the package addressbook.library, you can just refer in client as well as in the server package.
If you are going to create separate project for client and for server, you want to maintain multiple copies, which further results in the problems due to redundant code. ie., whenever you changed any library files, you want to update in both places.
You can create two jars as you mentioned as,
AcmeAddressBookClient.jar
AcmeAddressBookServer.jar
Before building jars you just want to set the executable Main class appropriate for Client and Server before making the client and server jars respectively.
There is no limit for the nested package, if you need to group meaningfully, you can make as many nested package as you want!
For your reference :
http://articles.techrepublic.com.com/5100-22-1046677.html -
aaaahhhh! I've been struggling with this for hours! Please
help if you can ...
"import fl.video.*" will not work. also "import
fl.containers.UILoader" will not load what it needs to. it appears
that my primary class paths have somehow gotten messed up. i have
no idea why. these all worked a few months ago without any special
effort. once i start to track these down in their directories, it
can get a bit confusing! doesn't flash refer to these standard
packages with no special effort (shouldn't "." do the trick for all
inherent Flash CS3 installed packages)? must i set special class
paths to these? i'd rather not. and even so, when i set very
specific class paths to these packages, then other related ones are
still not referenced correctly.
what do i need to do? re-installed CS3?
i find very little on-line support for such things. anyone
have some insight?miquael,
> "import fl.video.*" will not work. also "import
fl.containers.UILoader"
> will not load what it needs to.
In addition the import directive, you'll need a copy of the
desired
component(s) in the Library. Have you done that?
> shouldn't "." do the trick for all inherent Flash CS3
installed packages?
The dot (.) just means, "Look in the same folder as the FLA
file," so
that's great for custom classes that are quick one-offs. It
even works with
nested packages in the same folder as the FLA -- but it
doesn't cause Flash
to look in the installation directory.
> what do i need to do? re-installed CS3?
Probably not. What version of ActionScript are you talking
about? The
default classpaths settings for AS2 -- on my machine, which
runs on Win
XP -- is the dot, then $(LocalData)/Classes. For AS3, it's
the dot, then
$(AppConfig)/ActionScript 3.0/Classes.
David Stiller
Co-author, Foundation Flash CS3 for Designers
http://tinyurl.com/2k29mj
"Luck is the residue of good design." -
Using 'libc' functions in a STREAM 64-bit module
Hi,
Finally I got to compile and load the STREAM module, the problem I had was a matter of the compiler I was using.
But now I would like to know how could I use functions typically encapsulated in libraries in my module. For example, I would like to use 'memcpy' which is in libc.
I have tried to extract its '.o' from libc.a (ar -x /usr/lib/libc.a memcpy.o) and then link it with my module : /usr/ccs/bin/ld -r -o mymodule mymodule.o memcpy.o, but it returns the following error:
ld: fatal: file memcpy.o: wrong machine class
ld: fatal: file processing errors: no output writen to mymodule
I guess that it is because, since 64-bit Solaris environments do not have static libraries, the file memcpy.o I am trying to link is 32 bits.
I have also tried to link mymodule with a dynamic library:
/usr/ccs/bin/ld -r -o mymodule -L/usr/lib/sparcv9/ -dy -Bdynamic mymodule.o -lc
but I cannot load the module and the error that I can see in the console is:
/kernel/strmod/sparcv9/mymodule: undefined symbol memcpy
WARNING: mod_load: cannot load module 'mymodule'
So I guess it is not possible to link a kernel module with a dynamic library.
Could somebody give me a clue of how could I do it, if it is possible??
Thank you in advance
Regards
Elena
(my email es: "[email protected]")OK........ Couple of things I see....
func.as
package{
public class func{ // This is the name of your class and as
such, it needs a constructor.....
public function func() {
// Doesn't need to do anything
Your import should be inside your package but outside the
class definition
You need to import your package into your Flash shell before
you can call the BackToMenu funciton (this is the real reason for
the error).
If you get an error about not being able to nest packages,
you'll need to adjust things
package com.mysite.common {
the above line will assume that you have folders relative to
your flash shell of the same names.....
com \ mysite \ common \ func.as
If this doesn't make sense, just let me know. We'll get it
straightened out. -
Ok, I have found defining classes in .as files can be very
useful for me. I have a few functions that are being called over
and over again in different movies. There is what I want / need to
do in order to stream line the creating and updating of the flash
site. I want to see if I can put those same functions into a class
(.as file) so I can access them from anywhere in the flash movie.
The problem is when I just try to copy and paste the functions to
the .as file (func.as) and then call the function by,
func.FunctionName I get errors. The movie is calling the functions
when buttons are pressed. Any ideas? I will attach some functions I
am using that I would like to move to the func.as file.OK........ Couple of things I see....
func.as
package{
public class func{ // This is the name of your class and as
such, it needs a constructor.....
public function func() {
// Doesn't need to do anything
Your import should be inside your package but outside the
class definition
You need to import your package into your Flash shell before
you can call the BackToMenu funciton (this is the real reason for
the error).
If you get an error about not being able to nest packages,
you'll need to adjust things
package com.mysite.common {
the above line will assume that you have folders relative to
your flash shell of the same names.....
com \ mysite \ common \ func.as
If this doesn't make sense, just let me know. We'll get it
straightened out. -
How to debug swc files in Flash CS5
Hi, to coin a familiar phrase "I'm new to Flash developement". My question is very simple. How do I debug .swc files (that I've created in Flash Builder 4) in Flash Professional CS5. I've incorporated the .swc file in the Publish Settings->Flash tab. But when I attempt to consume the objects in the .swc file I get an error saying it "Cannot display source code at this location."
Can someone tell me the best pratice for debugging .swc files. Do I debug them in Flash Builder or Adbobe Professional Flash CS5?I think I found the solution to my problem..... but dont know how to implement it correctly.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/StageScal eMode.html#SHOW_ALL
I believe I need to use the SHOW_ALL constant, but there isn't an example of how to do it
Heres my code, it compiles without errors, but when I publish it as .exe I get the 'Error 1037: Package cannot be nested':
package
import flash.display.StageScaleMode
import flash.media.Camera;
import flash.media.Video;
public class ScaleMode
public static const SHOW_ALL:String = StageScaleMode.SHOW_ALL;
var camera:Camera = Camera.getCamera();
if (camera != null) {
videoTwo.attachCamera(camera);
} else {
trace("You need a camera.");
stop();
Any ideas?? -
How to change video resolution in Flash CS5
Hi, I've made a small app that captures and displays the camera feed. But the problem i'm having is that the app only displays a fraction of what the camera is showing (top left part of the corner), is there a way to shrink the resolution in Flash CS5 so that the app can show the full picture??
Many thanks.I think I found the solution to my problem..... but dont know how to implement it correctly.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/StageScal eMode.html#SHOW_ALL
I believe I need to use the SHOW_ALL constant, but there isn't an example of how to do it
Heres my code, it compiles without errors, but when I publish it as .exe I get the 'Error 1037: Package cannot be nested':
package
import flash.display.StageScaleMode
import flash.media.Camera;
import flash.media.Video;
public class ScaleMode
public static const SHOW_ALL:String = StageScaleMode.SHOW_ALL;
var camera:Camera = Camera.getCamera();
if (camera != null) {
videoTwo.attachCamera(camera);
} else {
trace("You need a camera.");
stop();
Any ideas?? -
When I build it, occurs error. Could you any guide for me?
Error message:
Development Component Build (2009-03-18 00:05:54 GMT+09:00 (KST))
Component name: ecr_process
Component vendor: npdi.sap.com
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: localDevelopment
Source code location: I046523@SELN50061436A
DC root folder: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\DCs\npdi.sap.com\ecr_process\_comp\
DC type: Process Composer
Host: SELN50061436A
DC Model check:
DC is available locally
validating dependency to build plugin "sap.com/tc/bpem/bi/bp/buildtool"
validating dependency to used DC "npdi.sap.com/wd_ui_ecr"
validating dependency to public part "ECR" of DC "npdi.sap.com/wd_ui_ecr"
validating dependency to public part "MM_Inf" of DC "sap.com/ide/es/config/mc/model/bi"
validating dependency to public part "api" of DC "sap.com/public.test.facade"
validating dependency to public part "api" of DC "sap.com/tc/bi/mctech"
validating dependency to public part "def" of DC "sap.com/tc/bi/mctech"
validating dependency to public part "def" of DC "sap.com/tc/bi/testtech"
validating dependency to used DC "sap.com/tc/bpem/content/predefs/default"
validating dependency to public part "def_cmp" of DC "sap.com/tc/bpem/content/predefs/default"
validating dependency to used DC "sap.com/tc/bpem/content/predefs/types"
validating dependency to public part "def_cmp" of DC "sap.com/tc/bpem/content/predefs/types"
DC model check OK
Start build plugin:
using build plugin: sap.com/tc/bpem/bi/bp/buildtool
starting build plugin from : D:\Program Files\SAP\workplace.jdi\LocalDevelopment\BPEM-BUILDT\sap.com\tc\bpem\bi\bp\buildtool\_comp\gen\default\public\def\
Build Plugin 'buildplugingalaxy', Version 7.10 (NW711_00_REL, built on 2008-07-30 02:25:38 +0200, CL27770)
development component: ecr_process (npdi.sap.com)
software component: MyComponents (demo.sap.com)
location: localDevelopment
type: Process Composer
build variant: default
source location: I046523@SELN50061436A
output location: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t2\A3AC18E2E41A44598BF12CF812E51A6D\default
generation folder: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t\A3AC18E2E41A44598BF12CF812E51A6D
plugin start time: 2009-03-18 00:05:54 GMT+09:00 (KST)
Java VM: Java HotSpot(TM) Client VM, 1.5.0_16-b02 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Warning: Package folder "test/java" exists but is empty and will be ignored.
Warning: Source folder "mc" exists but is empty and will be ignored.
Warning: Nested package folder "source" within test/java folder "test" may produce unexpected build results.
Warning: Could not validate DC descriptor. Unknown component type "Process Composer" (sap.com).
Checking path lengths for sources
Path length checks finished in 0 seconds
Preparing data context..
No public part descriptor found in D:\Program Files\SAP\workplace.jdi\LocalDevelopment\ENGFACADE\sap.com\public.test.facade\_comp\gen\default\public\api, using legacy mode.
No public part descriptor found in D:\Program Files\SAP\workplace.jdi\LocalDevelopment\ESCONF_BUILDT\sap.com\tc\bi\mctech\_comp\gen\default\public\api, using legacy mode.
Data context preparation finished in 0.094 seconds
Entering tests preprocessing
Removing test folder 'D:\Program Files\SAP\workplace.jdi\LocalDevelopment\DCs\npdi.sap.com\ecr_process\_comp\test\java' from list of folder for Java compilation
Removing public part 'tests' from the list of public parts for compilation
Exiting tests preprocessing
Creating Ant build file..
Creating output file: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t2\A3AC18E2E41A44598BF12CF812E51A6D\default\logs\build.xml
Using macro file: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\ESCONF_BUILDT\sap.com\tc\bi\mctech\_comp\gen\default\public\def\macros\build.vm
MoinInit generator started.
Metamodels found.
Using Java class: com.sap.tc.glx.BuildFileCreator
MoinInit generator started.
Metamodels found.
Build file creation finished in 0.219 seconds
Starting Ant..
Using build file: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t2\A3AC18E2E41A44598BF12CF812E51A6D\default\logs\build.xml
Using build target: build
Using Ant version: 1.6.4
Mass Configuration Build:
[MOINInit] Meta models found.
[MOINInit] Referenced meta-model: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\BPEM-BUILDT\sap.com\tc\bpem\bi\model\flow\_comp\gen\default\public\MM_Inf\lib\moin\sap.comtcbpemmodelflow_xmi.zip
[MOINInit] Referenced meta-model: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\BPEM-BUILDT\sap.com\tc\bpem\bi\model\triggernet\_comp\gen\default\public\MM_Inf\lib\moin\sap.comtcbpemmodeltriggernet_xmi.zip
[MOINInit] Referenced meta-model: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\ESMP_BUILDT\sap.com\tc\esmp\bi\model\wsdl20\_comp\gen\default\public\MM_Inf\lib\moin\sap.comtcesmpmodelwsdl20_xmi.zip
[MOINInit] Referenced meta-model: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\ESMP_BUILDT\sap.com\tc\esmp\bi\model\xsd1\_comp\gen\default\public\MM_Inf\lib\moin\sap.comtcesmpmodelxsd1_xmi.zip
createPublicParts:
[pppacker] Packing public part 'def_cmp'
[pppacker] DC being built: ecr_process
[pppacker] Searching for entity: mc.
[pppacker] Checking path: rep
[pppacker] Checking path: src
[pppacker] Checking path: test
[pppacker] WARNING: Model Folder Tree 'mc' is outside of defined package or source folders.
[pppacker] Packed 0 files for entity mc (Model Folder Tree)
[pppacker] DC being built: ecr_process
[pppacker] Searching for entity: rep.
[pppacker] Checking path: rep
[pppacker] Checking path: src
[pppacker] Checking path: test
[pppacker] Packed 2 files for entity rep (Model Folder Tree)
[pppacker] DC being built: ecr_process
[pppacker] Searching for entity: src.
[pppacker] Checking path: rep
[pppacker] Checking path: src
[pppacker] Checking path: test
[pppacker] Packed 10 files for entity src (Model Folder Tree)
[pppacker] Packed 3 entities for public part 'def_cmp'
[timer] Packing of public part 'def_cmp' finished in 0.593 seconds
Ant runtime 6 minutes 14.072 seconds
Ant build finished with WARNINGS
Creating Ant build file..
Creating output file: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t2\A3AC18E2E41A44598BF12CF812E51A6D\default\logs\unittesting_postbuild.xml
Using Java class: com.sap.ats.buildplugin.Postprocessor
Adding test folder 'D:\Program Files\SAP\workplace.jdi\LocalDevelopment\DCs\npdi.sap.com\ecr_process\_comp\test\java' to the list of folder for Java compilation
Build file creation finished in 0.032 seconds
Starting Ant..
Using build file: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t2\A3AC18E2E41A44598BF12CF812E51A6D\default\logs\unittesting_postbuild.xml
Using build target: build
Using Ant version: 1.6.4
compileTests:
[echo] Starting Java compiler
[echo] Settings:
[echo] debug: on
[echo] optimize: off
[echo] deprecation: default
[echo] verbose: default
[echo] encoding: UTF8
[echo] source: default
[echo] target: default
[echo] source path: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\DCs\npdi.sap.com\ecr_process\_comp\test
[echo] class path:
[echo] D:\Program Files\SAP\workplace.jdi\LocalDevelopment\DCs\npdi.sap.com\wd_ui_ecr\_comp\gen\default\public\ECR\lib\java\npdi.sap.comwd_ui_ecrECR.jar
[echo] D:\Program Files\SAP\workplace.jdi\LocalDevelopment\ESCONF_BUILDT\sap.com\tc\bi\mctech\_comp\gen\default\public\api\lib\java\com.sap.ide.es.config.mc.dtrtconverter_api.jar
[echo] D:\Program Files\SAP\workplace.jdi\LocalDevelopment\ESCONF_BUILDT\sap.com\tc\bi\mctech\_comp\gen\default\public\api\lib\java\com.sap.ide.es.config.mc.dtrtconverter_core.jar
[echo] D:\Program Files\SAP\workplace.jdi\LocalDevelopment\ESCONF_BUILDT\sap.com\tc\bi\mctech\_comp\gen\default\public\api\lib\java\tcbimctech_public.jar
[echo] D:\Program Files\SAP\workplace.jdi\LocalDevelopment\ENGFACADE\sap.com\public.test.facade\_comp\gen\default\public\api\lib\java\junit-4.1.jar
[echo] D:\Program Files\SAP\workplace.jdi\LocalDevelopment\ENGFACADE\sap.com\public.test.facade\_comp\gen\default\public\api\lib\java\junit-4.1.jar
[echo] output dir: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t\A3AC18E2E41A44598BF12CF812E51A6D\test_classes
[timer] Java compilation finished in 0.047 seconds
[echo] Start XLF conversion
[timer] XLF conversion finished in 0.016 seconds
Error: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t2\A3AC18E2E41A44598BF12CF812E51A6D\default\logs\unittesting_postbuild.xml:128: Warning: Could not find file D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t\A3AC18E2E41A44598BF12CF812E51A6D\classes to copy.
at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:394)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)
at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)
at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:403)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:149)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:87)
at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
at com.sap.tc.devconf.internal.DCProxyMake.make(DCProxyMake.java:300)
at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1338)
at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:3636)
at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.build(BuildJob.java:376)
at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.doInWorkerThread(BuildJob.java:190)
at com.sap.ide.dii05.util.api.job.JdiJob$1.doInWorkerThread(JdiJob.java:77)
at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3$1.run(InternalJdiJob.java:198)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1779)
at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3.run(InternalJdiJob.java:207)
at com.sap.ide.dii05.util.internal.job.BusyBackgroundIndicator.showWhile(BusyBackgroundIndicator.java:74)
at com.sap.ide.dii05.util.internal.job.InternalJdiJob.internalRun(InternalJdiJob.java:188)
at com.sap.ide.dii05.util.internal.job.InternalDiiJob.run(InternalDiiJob.java:279)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Ant runtime 0.157 seconds
Ant build finished with ERRORS
Warning: Could not find file D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t\A3AC18E2E41A44598BF12CF812E51A6D\classes to copy.
Error: Build stopped due to an error:
Warning: Could not find file D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t\A3AC18E2E41A44598BF12CF812E51A6D\classes to copy.
MOIN forced shutdown initiated.
Build plugin finished at 2009-03-18 00:12:09 GMT+09:00 (KST)
Total build plugin runtime: 6 minutes 14.948 seconds
Build finished with ERROR
==== Post-Processing ==== started at 2009-03-18 00:12:09.677 KST
Copy the build logs
from: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\t2\A3AC18E2E41A44598BF12CF812E51A6D\default\logs\
to: D:\Program Files\SAP\workplace.jdi\LocalDevelopment\DCs\npdi.sap.com\ecr_process\_comp\gen\default\logs\
Build results in folder D:\Program Files\SAP\workplace.jdi\LocalDevelopment\DCs\npdi.sap.com\ecr_process\_comp\gen\default\ remain unchanged.Hi
Based on this line
Files\SAP\workplace.jdi\LocalDevelopment\BPEM-BUILDT\sap.com\tc\bpem\bi\bp\buildtool\_comp\gen\default\public\def\
Build Plugin 'buildplugingalaxy', Version 7.10 (NW711_00_REL, built on 2008-07-30 02:25:38 +0200, CL27770)
Used Dc bpem having some problem
Try this
1. Select the DC ---Select Development Component ---Show In -- Select last one(Component Navigator) .It will display all used dc (from sap and custom) right click on particular --right click --select sync/create project --select sync used dc.
do the same for all used DC's
Let us know what is this Package folder "test/java ? I think some file which u used in DC.
Best Regards
Satish Kumar -
A non-numeric character was found ... iAS 8 & ora 8.1.6
I have a problem in iAS 8 and Oracle 8.1.6 under windows 2000.
The problem is calling nested packages using plql gateway, I
mean I call one package and it call's another package, this
operation throws " a non-numeric character was found where a
numeric was expected" even if the procedure only has one
parameter, if you call nested procedures there are no errors, I
had the same problem on Solaris, however changed databases and
it dissapear, I thought that the problem was some
NLS_PARAMETERS however now I'm not pretty sure.
Any Ideas.
Thanks in Advance.
Francisco Castaqeda
Arango Software Int.hello
pls use to_date
If your session is set to default date format of DD-MON-YY, execute the following and you will receive the error message:
SQL> select to_date('20-JAN-2010', 'DD-MM-YYYY') from dual;
ERROR:
ORA-01858: a non-numeric character was found where a numeric was expected
no rows selected
When you are converting a string to a date, you have specified that the date is being passed in DD-MM-YYYY format. But you have passed the date in DD-MON-YYYY format. As the month is expected as a number by oracle, but you have passed a character, oracle is unable to translate the string to a number.
Do one of the following:
SQL> select to_date('20-JAN-2010', 'DD-MON-YYYY') from dual
2 /
TO_DATE
20-JAN-2010
OR
SQL> select to_date('20-10-2010', 'DD-MM-YYYY') from dual
2 /
TO_DATE
20-JAN-2010
or you can use alter sessin set nls_date_format='.....................';
regards -
I have a complex process with several nested packages...
If I analyze all the tables in the process, just starting, the performance is worst than if I analyze the tables BEFORE starting the process (in other connection)...
Is it possible? Is it a nonsense?
When I call diferent packages, all keep in memory and ANALYZE duringthe process is not "effective"?
Thanks for advanced.
Edited by: pacoKAS on 19-nov-2010 11:59
Edited by: pacoKAS on 19-nov-2010 12:00ANALYSE is not a magic function. It just writes some statistics to the ORACLE metadata which are used by the optimizer. So doing it BEFORE a "select" does not make sense as you should do it AFTER a major data change.
But, of course, depending on your "analyze" some data might be cached etc....
The result of the ANALYZE (you better should use GATHER but maybe that's what you do ?) can be a different statistic and a different execution plan. So you need to check if there is a difference. (E.g. with tracing the session) if the execution plan is the same then it's just about the cache. If it's not, do you "gather" the same way? And pick the way which results in the better access.
I'd NOT do the "analyze/gather" before anything, as it can be, depending on the data and method, quite time consuming, and save some execution time there.
Before you analyze, you should ask yourself, has the data contents and volume changed in a way which might lead to a different access? If yes, get the stats after the change, if not, don't do it, or do it (just in case) at a point in time where you do not need full machine power.
-- andy -
Animating a rectangle's roundness
Apologies if this has been addressed already, or if this is
too general in scope, but I used to be pretty adept with AS back in
the day but I haven't used flash for work since MX 2004! Trying to
get into AS 3.0 is making my head spin, which seems to be the only
option for what I'm trying to do...
(On a side note, can someone please explain to me the
reasoning behind why a new "feature" is I need to tell Flash to
import it's own command classes everytime I want it to do something
even equivalent to the old onMouseOver etc.??)
Anyways, I learn best by example, and I've been trying to see
what all is involved in making an AS that will animate the corner
rounding/overall scale of a rectangle primitive. It appears that
these functions reside in an entirely new part of AS which is all
news to me. It's like to make a rectangle I need to import classes,
and to do that I need to make a package, and when I do that it
complains that I can't nest packages. It seems lines and lines of
code are necessary now just to adjust the properties of either an
existing rectangle or one dynamically created. And yes I've been
reading the documentation, but it breezes over the new principles
of operation like packages as if I've always been expecting them
all along. I know this encompasses pretty much all the new
principles of AS 3.0, so I'm not expecting a start-to-finish answer
or example, but any help with these new methods of coding and/or
direct help with my rectangle, or even a tutorial which would be a
place to start would be greatly appreciated!
Thanks in advance,
Devin(to answer your side-note, it's done to streamline swf file
size and speed code execution.)
your example: ( you can attach this code to a timeline frame
in your fla):
Maybe you are looking for
-
Windows Home Server 2011, How to Turn off Remote Web Access for Dashboard completely?
I have a Dell Server at my House and i thought it would be a good idea to use it to run a website on so, i set up Apache and get it installed. But then every time I type http://localhost/ it would always Come up with the remote web access! So i thoug
-
Tablespace size monitoring in Oracle 10g
Hello Our environment: Oracle 10.2.0.3 3-node RAC, ASM, Linux x86-64 We are using EM Grid Control as a monitoring tool for RAC databases. We have "tablespace SPACE USED (%)" metric configured for all RAC databases. For some reason this metric does no
-
SQL Server 2005 huge data migration. Taking more than 18 hours ...
Hi, We are migrating an SQL server 2005 DB to Oracle 10 g 64 bit 10.2.0.5. The source sql server DB has few tables (<10) and only few stored procedure(<5). However one table of source is very huge, it has 70 million records in it. I started the migra
-
K7N2 PC Alert System temperature
My brothers an my computer are near enough the same spec except I have an XP2800 and he has an XP3000. We both have a K7N2 Delta ILSR motherboard. I am using his computer at the moment an noticed his system temperature is half of what mine is?? His
-
My itunes adds snippets of sounds when importing music
Ive had this bug for a while now where itunes adds about 2 seconds of what i think might be other songs or maybe just random sounds into random parts of the mp3 file. It doesnt do this on all songs just every now and again. Ive checked the files im i