More than one ANT Build-Script "build.xml" in a JDev Project?
Hi,
were using JDev 10.1.3.3 with our Projects in which i am trying to inject the code coverage tool "Cobertura".
We want to handle Cobertura through ANT-Targets, so we have to set up an .XML-Buildscript.
But we already have a Build.xml to cover our deployment needs.
I don't want to put the cobertura-targets into our Build.xml - would be a mix of purpose to me...
Instead of having one big .xml, i wanted to have "Build.xml" and "Cobertura.xml", but when generate the latter and put in the ANT-Project it isn't recognized as an ANT-Script, but as an ordinary XML.
With new-->Ant-->buildfile i can only generate the "Build.xml".
Is it possible to convert a regular XML into an Ant-Script, so that JDev would recognize them?!
regards,
Henning
Edited by: Haymaker84 on 03.12.2008 03:00
whoops...
i was able to generate another buildscript with the standart dialog!
Similar Messages
-
Open more than one FMB in Form Builder automatically
Hello,
You can open one FMB-File automatically in Object Navigator of Form Builder with
...module=test.fmb
If I want to open more than one form automatically
in Object Navigator - how is that possible?
...module=test1.fmb,test2.fmb... does not work.Unfortunatly you can't
-
More than one ejb in ejb-jar.xml ?
Can i have more than one ejb in a jar file ??
Include session and entity beans in your ejb-jar.xml with <session> &
<entity> tags.
<enterprise-beans>
<session>
</session>
<entity>
</entity>
</enterprise-beans>
David wrote:
Can i have more than one ejb in a jar file ?? -
More than one group in ias-web.xml role-impl?
Hello,
iAS 6.0 SP3 Solaris 8.
According to the ias-web DTD, it possible to map more than one LDAP group
or user to a role; i.e. it should be possible to say something like
<role-mapping>
<role-name>sales</role-name>
<role-impl>
<group>directsales</group>
<group>salesmanagement</group>
</role-impl>
</role-mapping>
When I do this, the 'roles' tab in ksvradmin shows both groups, so that's
promising. However, when I actually try it, only users in the first group
(directsales in the example) have the 'sales' role. Users in the second
(and subsequent) groups do not have the role.
What gives??
Jan.
==============================================================
Jan de Visser Digital Fairway Corp.
tel. (416) 628 7525 [email protected]
<Enter any 12 digit prime to continue>
==============================================================Hi,
Just check the roles in kregedit. You will find the roles in
SOFTWARE\iPlanet\6.0\J2EE-modules. Please check it. And do th emapping if
neccessary. You need to restart the server after doing role mapping. see if
it helps.
Jan de Visser wrote:
Hello,
iAS 6.0 SP3 Solaris 8.
According to the ias-web DTD, it possible to map more than one LDAP group
or user to a role; i.e. it should be possible to say something like
<role-mapping>
<role-name>sales</role-name>
<role-impl>
<group>directsales</group>
<group>salesmanagement</group>
</role-impl>
</role-mapping>
When I do this, the 'roles' tab in ksvradmin shows both groups, so that's
promising. However, when I actually try it, only users in the first group
(directsales in the example) have the 'sales' role. Users in the second
(and subsequent) groups do not have the role.
What gives??
Jan.
==============================================================
Jan de Visser Digital Fairway Corp.
tel. (416) 628 7525 [email protected]
<Enter any 12 digit prime to continue>
==============================================================--
thanks.
parsu -
In a single line - More than one value in script
Hi,
In script, I have to print 3 materials in each line. For example, if I have 10 entries in an internal table GT_MARA. I need to print as below.
1. Material A 2. Material B 3. material C
4. Material D,,,,,,
10. Material K
At the moment I am printing one by one.
LOOP AT GT_MARA.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'MATERIAL'
window = 'MAIN'.
ENDLOOP.
How to achieve this? Please suggest.Better create a new internal table with the following stucture
BEGIN OF ITAB,
matnr1 type matnr,
matnr2 type matnr,
matnr3 type matnr,
END OF ITAB,
then populate this itab from GT_MARA
data: l_flag.
loop at gt_mara.
if itab-matnr1 is initial.
clear flag.
itab-matnr1 = gt_mara-matnr.
exit.
endif.
if itab-matnr2is initial.
itab-matnr2 = gt_mara-matnr.
exit.
endif.
if itab-matnr3 is initial.
flag = 'X'.
itab-matnr3 = gt_mara-matnr.
append itab.
endif.
AT LAST.
IF flag <> 'X'.
append itab.
ENDIF.
ENDAT.
endloop.
Then use itab while calling ur script -
Xml to Oracle (Update more than one row)
Hi,
I want to update more than one row in table from .xml file. My xml file is as follows:
<ROOT>
<PROFILE PROFILEMASTER_PKEY="54" DB_MSTR_PKEY="2" PROFILE_NAME="Bhushans" DELIMETER="~" PRE_PROCESSOR="1" POST_PROCESSOR="10" PRE_PROCESSOR_TYPE="1" POST_PROCESSOR_TYPE="2" GROUPID="2" />
<PROFILEDETAILS PROFILEMASTER_PKEY="54" TARGET_SOURCE_TABLE="FM_FEEDVALIDATION_LU" COLUMN_NAME="FEEDVALIDATION_ID" DATA_TYPE="NUMBER" DATA_SIZE="22" START_POSITION="12" END_POSITION="22" COLUMNORDER="1" PROFILEDETAILS_PKEY="399"/>
<PROFILEDETAILS PROFILEMASTER_PKEY="54" TARGET_SOURCE_TABLE="FM_FEEDVALIDATION_LU" COLUMN_NAME="CHANGE_TYPE" DATA_TYPE="VARCHAR2" DATA_SIZE="1" START_POSITION="12" END_POSITION="144" COLUMNORDER="5" PROFILEDETAILS_PKEY="403"/>
<OPTIONS PROFILEMASTER_PKEY ="54" LDR_SYNTX_DTLS_PKEY ="19" OPTIONVALUE="@" PROFILE_CFILE_PKEY="337" />
<OPTIONS PROFILEMASTER_PKEY ="54" LDR_SYNTX_DTLS_PKEY ="19" OPTIONVALUE="~" PROFILE_CFILE_PKEY="336" />
</ROOT>
To update according to xml file, I have written following procedure. My procedure updates the table if u r updating 1 row. If you try to update more than 1 row, I mean .xml file contains more than 1 row then my procedure doesn't work. Please help to solve this problem.
Procedure:
create or replace procedure fm_prc_xml_dup_up
as
f utl_file.file_type;
s varchar2(2000);
v varchar2(3000);
xml XMLType;
v_pmpk number;
v_sdtl_pk number;
chng_typ VARCHAR2(20);
type r1 is ref cursor;
rcur r1;
v1 varchar2(120);
v2 number;
begin
f := utl_file.fopen('CITI', 'S.XML', 'R');
loop
utl_file.get_line(f, s);
v := v || ' ' || s;
end loop;
exception
when no_data_found then
utl_file.fclose(f);
xml := xmltype(v);
SELECT extract(xml, 'ROOT/CHANGE/@CHANGETYPE').getstringval()
INTO CHNG_TYP
FROM DUAL;
UPDATE FM_PROFILEMAST
set db_mstr_pkey = extract(xml, 'ROOT/PROFILE/@DB_MSTR_PKEY').getnumberval(),
profile_name = extract(xml, 'ROOT/PROFILE/@PROFILE_NAME').getstringval(),
file_type = extract(xml, 'ROOT/PROFILE/@FILE_TYPE').getstringval(),
delimiter = extract(xml, 'ROOT/PROFILE/@DELIMETER').getstringval(),
pre_processor = extract(xml, 'ROOT/PROFILE/@PRE_PROCESSOR').getstringval(),
post_processor = extract(xml, 'ROOT/PROFILE/@POST_PROCESSOR').getstringval(),
pre_processor_type = extract(xml, 'ROOT/PROFILE/@PRE_PROCESSOR_TYPE').getstringval(),
post_processor_type = extract(xml, 'ROOT/PROFILE/@POST_PROCESSOR_TYPE').getstringval(),
groupid = extract(xml, 'ROOT/PROFILE/@GROUPID').getstringval(),
change_type = 'U',
change_by = chng_typ,
change_dt = default,
active_flag = default
WHERE profilemaster_pkey = extract(xml, 'ROOT/PROFILE/@PROFILEMASTER_PKEY').getnumberval();
UPDATE FM_PROFILEDET
SET target_source_table = extract(xml, 'ROOT/PROFILEDETAILS/@TARGET_SOURCE_TABLE').getstringval(),
column_name = extract(xml, 'ROOT/PROFILEDETAILS/@COLUMN_NAME').getstringval(),
data_type = extract(xml, 'ROOT/PROFILEDETAILS/@DATA_TYPE').getstringval(),
data_size = extract(xml, 'ROOT/PROFILEDETAILS/@DATA_SIZE').getnumberval(),
start_position = extract(xml, 'ROOT/PROFILEDETAILS/@START_POSITION').getnumberval(),
end_position = extract(xml, 'ROOT/PROFILEDETAILS/@END_POSITION').getnumberval(),
change_by = chng_typ,
change_dt = default,
columnorder = extract(xml, 'ROOT/PROFILEDETAILS/@COLUMNORDER').getstringval(),
column_format = extract(xml, 'ROOT/PROFILEDETAILS/@COLUMN_FORMAT').getstringval(),
nullable = extract(xml, 'ROOT/PROFILEDETAILS/@NULLABLE').getstringval(),
change_type ='U',
active_flag = default
WHERE profiledetails_pkey = extract(xml, 'ROOT/PROFILEDETAILS/@PROFILEDETAILS_PKEY').getstringval();
UPDATE FM_PROFILE_CFILE
SET profilemaster_pkey = extract(xml, 'ROOT/PROFILE/@PROFILEMASTER_PKEY').getnumberval(),
ldr_syntx_dtls_pkey = extract(xml, 'ROOT/OPTIONS/@LDR_SYNTX_DTLS_PKEY').getstringval(),
val = extract(xml, 'ROOT/OPTIONS/@OPTIONVALUE').getstringval(),
change_by = chng_typ,
change_dt = default,
sub_line_seq = extract(xml, 'ROOT/OPTIONS/@SUB_LINE_SEQ').getstringval(),
change_type = 'U',
active_flag = default
where profile_cfile_pkey = extract(xml, 'ROOT/OPTIONS/@PROFILE_CFILE_PKEY').getnumberval();
END;Hi Bhushan,
one where clause is missing in the main update.
update fm_profiledet
set (....)
=(select ....)
where id in (select your profiledetails_pkey from the xml). <--this where clause were missing.
if xml extracting is too slow(xml very large) then you can create a procedure where exract your data from the xml and then update rows in for loop.
something like this
create procedure up_xmls(p_xml xmltype) is
cursor cur_xml(p_xml xmltype) is
select ......<--here you extract your xml
begin
for r_row in cur_xml(p_xml) loop
update fm_profiledet set target_source_table=r_row.target_source_table
where profiledetails_pkey=r_row.profiledetails_pkey;
end loop;
end;this should work:
SQL> drop table fm_profiledet;
Table dropped.
SQL> create table fm_profiledet(
2 profiledetails_pkey number
3 ,target_source_table varchar2(100)
4 ,column_name varchar2(100)
5 ,data_type varchar2(100)
6 ,data_size number
7 ,start_position number
8 ,change_type varchar2(100)
9 )
10 /
Table created.
SQL>
SQL>
SQL> insert into fm_profiledet
2 values(399,'test','test1','test2',1,2,'A')
3 /
1 row created.
SQL>
SQL>
SQL> insert into fm_profiledet
2 values(403,'test3','test4','test5',3,4,'B')
3 /
1 row created.
SQL> insert into fm_profiledet
2 values(443,'test3','test4','test5',3,7,'B')
3 /
1 row created.
SQL>
SQL>
SQL> select * from fm_profiledet;
PROFILEDETAILS_PKEY TARGET_SOU COLUMN_NAM DATA_TYPE DATA_SIZE START_POSITION CHANGE_TYP
399 test test1 test2 1 2 A
403 test3 test4 test5 3 4 B
443 test3 test4 test5 3 7 B
SQL>
SQL> create or replace directory xmldir as '/home/ants';
Directory created.
SQL>
SQL>
SQL>
SQL> update fm_profiledet fm
2 set (target_source_table,column_name, data_type, data_size, start_position,change_type)
3 =(
4 select target_source_table
5 , column_name
6 , data_type
7 , data_size
8 , start_position
9 , change_type
10 from(
11 select
12 extractValue(value(x),'/PROFILEDETAILS/@PROFILEDETAILS_PKEY') profiledetails_pkey
13 , extractValue(value(x),'/PROFILEDETAILS/@TARGET_SOURCE_TABLE') target_source_table
14 , extractValue(value(x),'/PROFILEDETAILS/@COLUMN_NAME') column_name
15 , extractValue(value(x),'/PROFILEDETAILS/@DATA_TYPE') data_type
16 , extractValue(value(x),'/PROFILEDETAILS/@DATA_SIZE') data_size
17 , extractValue(value(x),'/PROFILEDETAILS/@START_POSITION') start_position
18 ,'U' change_type
19 from
20 table(xmlsequence(extract(xmltype(bfilename('XMLDIR','prof.xml')
21 ,nls_charset_id('AL32UTF8'))
22 , '/ROOT/PROFILEDETAILS'))) x
23 ) s
24 where s.profiledetails_pkey=fm.profiledetails_pkey)
25 where
26 fm.profiledetails_pkey in (select
27 extractValue(value(x),'/PROFILEDETAILS/@PROFILEDETAILS_PKEY') profiledetails_pkey
28 from
29 table(xmlsequence(extract(xmltype(bfilename('XMLDIR','prof.xml')
30 ,nls_charset_id('AL32UTF8'))
31 , '/ROOT/PROFILEDETAILS'))) x
32 );
2 rows updated.
SQL>
SQL>
SQL> select * from fm_profiledet;
PROFILEDETAILS_PKEY TARGET_SOU COLUMN_NAM DATA_TYPE DATA_SIZE START_POSITION CHANGE_TYP
399 FM_FEEDVAL FEEDVALIDA NUMBER 22 12 U
IDATION_LU TION_ID
403 FM_FEEDVAL CHANGE_TYP VARCHAR2 1 12 U
IDATION_LU E
443 test3 test4 test5 3 7 B
SQL> spool off;Ants
Message was edited by:
Ants Hindpere -
More than one view with iphone SDK.
Hi
I'm trying to make more than one view in Interface Builder and then switch between them in xcode. But I can not figure it out.
I tryed reading guides, watching tutorials, but with no luck.
Can anyone here give me a small tutorial on how do that?Your best bet is to look through the code (and xib files) distributed by Apple. I was in much the same position a couple of months ago, except my expertise was in JEE. It is really not that difficult to get going. Just a regular Cocoa development book can also help you (it helped me understand how to get going).
Here is what you will start with
ApplicationDelegate - Will be connected by default in your primary xib file. For simple applications that is all you need. If you need multiple views, you can still make the primary nib file you primary view and lay it out as you need. Add methods as appropriate to remove current view and display next view you want.
Xxx.nib - Your primary xib file. Layout out as required. Create a UIViewController and connect to the File's Owner. That connects your controller to the view. Make connections to the view components in the xib file, event handlers etc. It is not difficult, but IMO IB is not very intuitive, though you will get the hang of it very quickly. -
Using more than one AppController in Cocoa
I'm developing an extensive Cocoa-Application which requires more than one AppController in Interface Builder (as a subclass of NSObject). Each controller has a special task (MainController, WindowController, PreferencesController, etc.)
The only thing I don't know is how the controllers can communicate with each other. (e.g. the PreferencesController shoud inform the MainController about some changes in the preferences window, MainController hast to send messages to WindowController, etc.)
I think there are several ways the do this, but which the most conveniant one?Does that mean that I have to wire up all controllers in IB just like I connect an outlet (e.g. an NSTextField) to a controller? In other words: Do you mean that every controller has to contain an outlet of each other controller?
But only when you need to send messages between them.
And what about Selectors or NSNotifications? What's the benefit of using these kinds of communication?
"If it feels good, do it." But then, mostly when it does not break the good OO parts of your code. Sometimes NSNotification or delegation or selectors are the ONLY ways you can get something done. What is important is knowing that all these things are available to you as problem-solvers. You seem to be well on your way to using the Cocoa frameworks. Gute Reise, und viel Glueck! -
Can we declare more than one sequence tags in a complex type?
Hi all,
Can we use more than one <sequence> tags in the xml schema?
<xs:complexType name="Demo">
<xs:sequence minoccurs = "1" maxoccurs = "1">
</xs:sequence>
<xs:sequence minoccurs = "0" maxoccurs = "1">
</xs:sequence>
</xs:complexType>
If you observe the above sample xml there are two sequences in one complex type with different values for minoccurs and maxoccurs. Is this xml valid? why I need this is I have an
XML with lot of elements some of them should have minoccurs = "1" maxoccurs = "1" and some other should have the other combination of min and max attributes. I want to
declare it in the sequence rather than declaring beside each individual element. is that possible?
Thanks.Hi,
Is this xml valid? No, a complexType expects only one child, but you can do this :
<xs:complexType name="Demo">
<xs:sequence>
<xs:sequence minOccurs = "1" maxOccurs = "1">
</xs:sequence>
<xs:sequence minOccurs = "0" maxOccurs = "1">
</xs:sequence>
</xs:sequence>
</xs:complexType>However...
XML with lot of elements some of them should have minoccurs = "1" maxoccurs = "1" and some other should have the other combination of min and max attributes.
I want to declare it in the sequence rather than declaring beside each individual element. is that possible?minOccurs and maxOccurs declared in the sequence apply to the sequence as a whole, not to its individual components.
For example :
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="Demo">
<xs:sequence>
<xs:sequence maxOccurs="1" minOccurs="1">
<xs:element name="test1" type="xs:string"/>
<xs:element name="test2" type="xs:string"/>
</xs:sequence>
<xs:sequence maxOccurs="1" minOccurs="0">
<xs:element name="test3" type="xs:string"/>
<xs:element name="test4" type="xs:string"/>
</xs:sequence>
</xs:sequence>
</xs:complexType>
<xs:element name="root" type="Demo"/>
</xs:schema>What you expect will work for the first sequence of elements (test1 and test2) but anyway minOccurs and maxOccurs for elements default to 1, so why bother wrapping them in a sequence?
If I understand what you want correctly, it won't work for the second sequence.
For instance, this will be valid :
<root>
<test1/>
<test2/>
<test3/>
<test4/>
</root>but this will not :
<root>
<test1/>
<test2/>
<test3/>
</root> -
Hello! I have in my home 2 iMac, 2 iPad, 2 iPhone, and 1 air base extreme. I don't succeed to connect more than one divice from similar type. I tried everything what I knew. I build another network, etc...
So only one imac, only one ipad..and so on simultain.
More over, all the divices are conect through wifi to air base but are not receiveing internet as i told above.
I need to disconnect one device to have internet on the second one from the same type!
Could somebody help me?
Many Thnaks,
danIf your network configuration is:
Cable modem > (Ethernet cable) > [WAN] AEBS > (wireless) > Macs, then
AirPort Extreme Base Station Setup (AEBS) w/High-Speed Cable Modem
Modem/Router Power ReCycling
- Power-off the Cable modem, AEBS, & computer(s). (If possible, leave the modem off overnight.)
- Power-on the Cable modem; Wait at least 30 minutes.
- Power-on the AEBS; Wait at least 5 minutes.
- Power-on the computer(s)
Perform a "hard" reset of the AEBS.
- (ref: http://docs.info.apple.com/article.html?artnum=107451)
Setup the AEBS
With the network components powered down, set up the AEBS, using the AirPort Admin Utility, connect your computer directly (using an Ethernet cable) to the LAN port of the AEBS, and then, try these settings:
AirPort tab
- Base Station Name: <whatever you wish or use the default>
- AirPort Network Name: <whatever you wish or use the default>
- Create a closed network (unchecked)
- Wireless Security: Not enabled
- Channel: Automatic
- Mode: 802.11b/g Compatible
Internet tab
- Connect Using: Ethernet
- Configure: Using DHCP
- WAN Ethernet Port: Automatic
Network tab
- Distribute IP addresses (checked)
- Share a single IP address (using DHCP & NAT) (enabled)
Once you verified that you can get Internet access for all of your computers, you should secure your wireless network. To do so, I suggest that you make these changes:
AirPort tab (optional)
- Create a closed network (checked)
Change Wireless Security
- Wireless Security: WPA Personal
Base Station Options - WAN Ethernet Port
- Enable SNMP Access (unchecked)
- Enable Remote Configuration (unchecked)
- Enable Remote Printer Access (unchecked)
Wireless Options
- Transmitter Power: 10%
Access Control tab (optional)
- + <add the computer(s) that will access this wireless network> -
Building report from more than one data model
Hi Experts,
I have a requirement to build a report in BI Publisher.
The report has three section each having their own data source.
When i try to create report in BI Publisher it allows me to associate one data model per report.
is it feasible to have more than one data source for a single report.
Cheers,
AndyHi Andy,
Not sure If this meets your requirement, please do have a look at the following links:
http://www.rittmanmead.com/2008/04/24/bi-publisher-reports-with-multiple-data-sources/
http://blogs.oracle.com/xmlpublisher/2008/07/multiple_datasources_i.html
http://blogs.oracle.com/xmlpublisher/2008/07/multiple_datasources_ii.html
Thanks. -
Builder allows for more than one Top-Level VI. The resulting Executable launches both applications at once. If I terminate one application, is there anyway to launch it again programmatically?
You could monitor the names of all the VI's in memory. If the one you want running is not in the list, you can launch it dynamically.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Building a method with more than one result data
Hi, everyone:
I'm a little shy to ask this question, however, it's been hanging in my mind for so long, so I think I'd rather make a confession on it. You may laugh at me if you want, I'm ready for that, but I more look forward to that someone can really give me the light, or even the link, or some hint....
For your ease of reading, I give the question first, and my whole story behind:
When I need a method which can provide more than one result( in other words, multiple outputs), how can I do it in Java? As I know, either you pass and object, or the result of the function is an object will do , for the object contains the datas you want, but that means your needs for those data have to be defined in object format in advance, won't that be inconvinient? Or Java has a better solution for that?
//And here's the whole story....
I began my career as a programmer by starting with LabVIEW, it's a graphical programming language made by National Instrument, and it's powerful on DAQ, and industrial field. One of the most important issues on design is to devide your system into multiple functions( in its own term: subVI), I think it's just like applying structured analysis method.
When we dealing with functions in LabVIEW, a programmer can define his own function with mulitiple inputs and outputs, for example, I can design a function called SumAndDevide, which accepts two input ( two variables to be summed and devided) and gives two results( result of summing and that of deviding).
The methodology has its power, at least it provide the functional decomposition, and you can compose a suitable solution in certain circumstance even they are not the smallest unit function. And testing is easy. It affects me so large that I look the trail of it when I come to other programming languages. In COBOL( well, that is a VERY old COBOL version ), I was scared to find there is no protection to the inner data on the performed sections, while making a outside subroutine to be called is cubersome and really a hard work. When I came to Delphi, I knew that using the result of a function cannot satisfy me, for it give only one output, even you can define it as variant, but I think it's vague to realize. So I use the difference of called by value and called by reference to handle the problem, that is: a value parameter for the input, and a variable paramter for the output.
Well, when I came to Java, I am stunned again, now there is no passing by reference mechanism in Java, otherwise you have to pass it as an object, but that means when you need multiple outputs, the output has to be defined in object form in advance. And that will be very inconvinient!! I tried to find some solutions, but I can't. So is there any way that in Java you can define a method with multiple output? or Java handles the problem in totally different way?
Any comments will be appreciated!!
Thanks!!
aQunx from TaiwanYou missed the most common OO solution - separation of concerns and implementation hiding.
If you have a function which returns a string, that is one method of the object that provides the service.
If you have a function which returns a real, that is a different method of the object.
If both functions require common code, move that into a private method which is called by both. If the method is costly, cache the result.
eg an aerodynamics properties class, which could be done as a multivalued return of (lift, drag), refactored to independent lift() and drag() methods, which delegate to an interpolate() method, which caches the interpolated value and uses mach, pressureHeight and _alpha to determine whether it should recalculate: /**
* Calculates the aerodynamic drag force at a given mach, alpha and pressure height.
public double drag (final double aMach, final double aPressureHeight, final double aAlpha) {
interpolate(aMach, aPressureHeight, aAlpha);
return _drag;
* Calculates the aerodynamic lift force at a given mach, alpha and pressure height.
public double lift (final double aMach, final double aPressureHeight, final double aAlpha) {
interpolate(aMach, aPressureHeight, aAlpha);
return _lift;
private void interpolate (final double aMach, final double aPressureHeight, final double aAlpha) {
if (aMach != _mach) {
setMach(aMach);
_pressureHeight = Double.NaN;
if (aPressureHeight != _pressureHeight) {
setPressureHeight(aPressureHeight);
_alpha = Double.NaN;
if (aAlpha != _alpha) {
setAlpha(aAlpha);
... actual interpolation happens in the private setXXX methods. -
How to map more than one xml element with some Paragraph in a Text Frame
Hi friends,
I am new in InDesign Java Scripting and I have to place or map, more than one xml elements of different parents, into one textbox. Is it possible through JavaScript? Can anyone help me in this because I have no idea how it should work and it urgently required.
Thanks in AdvanceI had answered to you already in your first post: the short answer is that it's not possible on the same text box unless you assign a common ancestor of these two "parents" item. That's not a question of scripting, it's the way Indesign handle the XML with the layout. Import a xml in Indesign and drop tags to page item. What you can do manually is quite representative of what can be done through scripting.
If you assign this anscestor to the text frame, you have to expect that all text child items will be displayed in the text frame (including the text of all the child of the two "parents" and all the other parents/childs that could be under the common ancestor). Having a XML that is designed for Indesign usage is pretty much inevitable if you are doing anything "serious". -
Creating SQL-Loader script for more than one table at a time
Hi,
I am using OMWB 2.0.2.0.0 with Oracle 8.1.7 and Sybase 11.9.
It looks like I can create SQL-Loader scripts for all the tables
or for one table at a time. If I want to create SQL-Loader
scripts for 5-6 tables, I have to either create script for all
the tables and then delete the unwanted tables or create the
scripts for one table at a time and then merge them.
Is there a simple way to create migration scripts for more than
one but not all tables at a time?
Thanks,
Prashant RaneNo there is no multi-select for creating SQL-Loader scripts.
You can either create them separately or create them all and
then discard the one you do not need.
Maybe you are looking for
-
Creative Cloud desktop app issue
Just signed up for CC last week. I'm using a PC with Windows 7. Downloaded Photoshop, Dreamweaver and Bridge and all work ok. The CC desktop app was working perfectly but now it is not. Each time I try to sign in the message 'You've been signed out'
-
What is causing my Macbook Pro fan to run constantly?
Hello. Recently my Macbook Pro fan has begun to run constantly at high power. I've checked the activity monitor and even when there is little RAM or CPU this occurs. I am wondering if the issue is the hard drive because the I am seeing spikes in disk
-
How can I include in my VI actions like "Undo last action/redo last action"?
I built a Vi and I want to include functions like Undo (last action) and Redo (last action). Any suggestion wellcome. Thank you
-
Having issues calling EJB3 from BPEL failing xmlparserv2 error.
Oracle/BPEL 10.1.3.4 Description : I am having errors in orabpel during marshalling of EJB call using WSIF. missing class JXDocumentBuilderFactory see ERROR 1 for details. I generated proxy classes using schemac against the document type I want to pa
-
How to change the response of human task if we are using the skip rule
Hi, We have developed the request workflow in OIM11g for this we are using the Beneficiary Manager approval composite to approve the request by his manager. We are using the skip rule in the human task component to skip the user if the requester is b